wadja0 wrote:Hi. I've been able to confirm the theory of how it's done, but still haven't been able to test it out on Windows Vista. This way with tingling with the registry was suggested to me (read: told to me) by "
dboki89" from PortableApps.com...
Anyway, this should be the way to associate FreeCommander to open a folder on double-click:
1) Make a text file
2) You should write ten lines of text in there. The file would look like:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell]
@="FreeCommander"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\FreeCommander]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\FreeCommander\command]
@="C:\\Program Files\\FreeCommander\\FreeCommander.exe \"%1\""
Please note the following things before someone tries this:
- in line 9, you should put the address of where FreeCommander is installed ON YOUR SYSTEM! This is the default path, your version of FreeCommander should be located here if you haven't changed the options during the installation... For restoring to default, see the end of this post.
- if you are giving your custom path, then note that the folder separator in this case is "\\", not just one "\"
- lines 2, 5, 7 and 10 MUST BE BLANK!
3) Save the text file and exit from it. Change the extension from .txt into .reg (if you don't know how to do it and what this is, just Google for it on the internet and you'll find how, it's easy).
4) Now double-click on it, then "
Yes", then "
Ok" and that's it!
How to restore to default:
Repeat "Steps" 1 to 4, but in "Step 2" the text should be of 5 lines:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell]
@="open"
Note: the ending line of this file should also be blank
I hope this helps someone, and I would like if you,
tincanman2010, can confirm if this is working on Vista (it should work, but nevertheless...).
Regards
![Very Happy :D](./images/smilies/icon_biggrin.gif)
I have tested a slightly different version which does work. Same procedure exactly but contents of txt/reg file is:
----------
REGEDIT4
[HKEY_CLASSES_ROOT\Folder\shell]
@="FreeCommander"
[HKEY_CLASSES_ROOT\Folder\shell\FreeCommander]
@="FreeCommander"
[HKEY_CLASSES_ROOT\Folder\shell\FreeCommander\command]
@="\"C:\\Program Files\\FreeCommander\\FreeCommander.exe\" /C /L=\"%1\""
-------------------
(The L in the last line tells the directory to open in the Left panel)
---------
To undo the above, use this txt/reg:
-------
REGEDIT4
[HKEY_CLASSES_ROOT\Folder\shell]
@=""
[-HKEY_CLASSES_ROOT\Folder\shell\FreeCommander]
----------
NOTE: Once either file is .reg, I simply double click it and and PC does the rest.
Hope this helps.
(Note, I decided not to default freecommander like this because the directory view does not show the attributes of my MP3 files (title, bit rate etc) or photos, which is my primary need for it.)
Comments/questions welcome