How to add any program to right-click menu
Using right-click desktop context menu is the quickest way to perform most often file operations. Now, you can actually add a shortcut to any program you want and run it directly from the context menu.
Before proceeding, please make sure you take backup of your registry database. If you do not know how to do that, consult this Microsoft article.
- To start registry editor, call Run dialog (Windows key + r), type regedit, and click OK.
- Once the registry editor is opened, navigate to HKEY_CLASSES_ROOT\Directory\Background\shell
- Right-click on the shell key and create a new key, call it after the program you want to run, in my case, Mozilla Firefox.
- Create a new key, just under the key you have created in step 3, and call it command
- Double click Default string value within command key and in Data field type path to the program to run, in my case, “C:\Program Files (x86)\Mozilla Firefox\firefox.exe\” (inclusive quotes)
No log off or restart is required, just right click on your desktop, and you should see the program you want to run in the context menu