OM3 wrote: ↑09 Mar 2018 06:26
adding item to shell menu?
never seen it before... how would i get? that would be awesome!
assume you are saying i can add to right click menu?
Yes, you are assuming right, the shell menue is the right click menue.
You just have to save my above code as a ".reg"-file, for example: "My Item.reg". Then right click "My Item.reg" and select "merge" from the menue (on most system it might suffice if you double-click this file). Assuming you have enough rights on your PC you should get a warning, that chaning the registry might harm your pc (or similar), and finally you should get a message confirming the changes are successfully added to your registry.
From now on you should have an item named "My Item" in your shell menue.
Alternatively you might create this shell menue manually:
Just execute "regedit.exe" (with enough rights), then goto "HKEY_CLASSES_ROOT\*\shell" and create a key with any valid name you wish (no function key, no backslash, ... ) - that is the name of the shell menue item you create.
Then create a subkey (within the new key) named "Command" and doubleclick the "(Default)" REG_SZ type property and type in the file you wish to execute (with command line arguments). Make sure the file is listed in your PATH variable, or use the absolute path of that executable file.
penpen