Re: Re-association of file extensions to moved program NOT possible! Work around?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



That's a simple problem to fix.

Find the default value for these extensions, then open its key:

[HKEY_CLASSES_ROOT\.jpg]
[HKEY_CLASSES_ROOT\.jpeg]

For example, if the default is "jpegfile" open this key:

[HKEY_CLASSES_ROOT\jpegfile\shell\Open\command]

and change the path to the new location. Simple.


ju.c


"David Welch" <dsupp@xxxxxxxxxxxx> wrote in message news:4a06bab0$0$31877$9b4e6d93@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Assume I have a new, portable picture viewer which is currently stored in directory
D:\pictures\viewer\ and I associate PERMANENTLY the extension *.jpg to be opened with this viewer.
Fine. All *.jpg pictures are opened when double clicking with my picture viewer.

Now I moved the whole viewer program folder to

D:\tool\myviewer\

...and try to re-associate the extension *.jpg to the new location: It does NOT work.

When I right click in WinExplorer on a *.jpg file, then choose "open with..." in context menu, select the new *.exe and check "Always use the selected program to open this kind of file" and hit OK then the new program is NOT listed in the list of available programs although I just selected it.

The program itself runs fine. When I start it and navigate through the "file open " dialog
and open a *.jpg picture then the picture is shown successfully.

So the problem is the association itself. It seems to me that an association which is set once
successfully cannot be changed later. The problem occurs for all types of programs when
they are moved.

Is there any work around ?

David

.



Relevant Pages