|17 Aug 2012||#52|
| || |
Not usually. Usually you just wouldn't be able to open the file until you selected the proper default program.
If you like, export the registry .py and FileExts keys at the locations below, and upload it here. I'll be happy to look at it to see if we may be able to get this sorted.
|My System Specs|
|27 Aug 2013||#53|
| || |
I've found that if you're trying to associate a file type with a portable app, this can be done by adding the path to the portable app to your environmental variable PATH statement.
The way I do this is:
Open a command prompt and type, "setx PATH <path_to_program>"
Example: "setx PATH C:\users\matt\Documents\progs" (This is case insensitive so you don't have to worry about uppercase anything.)
Note 1: The path can be a parent folder to a subfolder or to many recursive subfolders. For example, I used Notepad++ for my primary editor, but I use the portable version so I don't have to install the program for numerous reason I'll not describe here. I recently moved the folder to a different location and I lost access to the file association. I then ran "setx PATH <new_location>" and I was able re-associate the file types if/when necessary. But instead of adding "C:\users\matt\documents\progs\npp\unicode" I just added "C:\users\matt\documents\progs" which contained the remaining recursive sub-directories and this was sufficient to allow file associations. The beauty of doing it this way is that I can put any programs in this progs directory, in their own respective directories, and they're automatically implemented into my path statement.
Note 2: When you perform the 'setx' command, it does not append and will overwrite, so if you've ran this in the past and run it again you'll lose what you've previously entered. What I usually do is type command plus all of the paths into a text editor first appending any new, fully listed, directories, making sure I have all the paths I want to use, and then paste that in the command prompt. Also, setx will ONLY set the USER's environmental variable PATH, NOT the System's, so this will only affect your account and no others.
Finally, you can then setup your file associations.
Mileage my vary as I've only tried this on my computer, but I'm pretty sure this will work for everyone. If anyone gets a chance to try this option and it works, could you please reply as such so we can have a few people confirm their and my findings.
All of this is done without having to mess with the registry too!
|My System Specs|
|Similar help and support threads for2: Default Programs - Associate a File Type or Protocol|
|Windows 7 Tutorial||Category|
|Mailto missing from registry (& Associate File Type or Protocol List)||Browsers & Mail|
|Unable to associate file type to upgraded version of a program||Software|
|Associate a file type||General Discussion|
|what can i associate an .nsis file type with||Software|
|Problem with "Associate a file type".||General Discussion|
|How to add a file type to the default list?||Customization|
|Associate file type to xp mode application?||Virtualization|