Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: Add new menu item to right-click menu of My Computer
HKEY_CLASSES_ROOT\Folder\shell\Browse with Paint Shop Pro\commandthe command string value is the path of the application, clicking on the menu item launches the app, maybe this can help?
For example,
key="Folder\shell\Calculator\command" RegSetExpSz(@REGCLASSES,key,"calc.exe")However it adds it to The "My Computer" icon and all the folders on the system. Interesting to play with though.
You'll need to test whether to use RegSetExpSz or RegSetValue, on different OS's, etc. Another user provided the following bit of code:
;Add calc.exe to the My Computer menu item key = "CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Calculator\command" RegSetValue(@REGCLASSES, key, "calc.exe") ;Remove it/... key = "CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Calculator" RegDelValue(@REGCLASSES,key)
Article ID: W15534
File Created: 2003:05:13:11:28:36
Last Updated: 2003:05:13:11:28:36