Right-click “Open” with arguments
I would like to add an entry to the Windows right-click menu that only appears when I right click on a .exe or .msi file. If the entry is selected, the exe file will be executed (like Open) but with a fixed text string as its argument. I guess this should be possible with a registry key - any ideas how to do this? For an .exe file, you can do the following in the registry: Under HKEY_Classes_Root , find key .exe Read the (Default) value (this is usually exefile ) Under HKEY_Classes_Root , find key exefile (or whatever you found in step 2) Under exefile\shell create a new key, with a name