0

i have been looking around and its hard to find what i want. I am able to add context menu item to a FOLDER by doing this:

[HKEY_CLASSES_ROOT\Directory\shell\Command] @="TestRightClick:"

[HKEY_CLASSES_ROOT\Directory\shell\Command\Command] @="myExe.exe %1"

I need to have "context menu for all the files in folders of a particular directory". context menu should be available only when i right click files under a particular directory. (for example on files of folder D:\folder\sub_folder)?

can this be achieved through Python or registry edit? read somewhere that this can be achieved through IShellExtInit interface. is there any python package to support this interface?

Thanks

1
Contributor
1
Reply
17
Views
4 Years
Discussion Span
Last Post by mohan.jce
0

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Folder\shell\NetBeans]
"AppliesTo"="System.ItemPathDisplay:\"NetBeansProjects\""
@="Open with NetBeans"

[HKEY_CLASSES_ROOT\Folder\shell\NetBeans\command]
@="\"C:\Program Files\NetBeans 7.2.1\bin\netbeans64.exe\" --open \"%1\""

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.