My Explorer context menus are filled with various goodies that I use from time to time. I want to add another option to them, and I have done so, but I'm having troubles getting it to appear in one place.
What I have tried so far can be summarized with the following .reg
file:
[HKEY_CLASSES_ROOT\Directory\Shell\MY_EXTENSION]
@="Open Thingy Here"
[HKEY_CLASSES_ROOT\Directory\Shell\MY_EXTENSION\command]
@="C:\stuff\thingy.exe \"%L\""
[HKEY_CLASSES_ROOT\Drive\Shell\MY_EXTENSION]
@="Open Thingy Here"
[HKEY_CLASSES_ROOT\Drive\Shell\MY_EXTENSION\command]
@="C:\stuff\thingy.exe \"%L\""
[HKEY_CLASSES_ROOT\Folder\Shell\MY_EXTENSION]
@="Open Thingy Here"
[HKEY_CLASSES_ROOT\Folder\Shell\MY_EXTENSION\command]
@="C:\stuff\thingy.exe \"%L\""
This almost works as intended: Right-clicking on a drive from My Computer, or a sub-directory from anywhere in Windows Explorer, correctly shows the context menu option.
However... If I Right-Click in the open whitespace of my current working directory does not produce the desired option. I know this is possible, because I've seen other options populate in this menu, including the standard Windows "Open command window here" which appears in the registry keys of HKEY_CLASSES_ROOT\*\Shell\cmd
where * is Directory|Drive|Folder
.