Using right-click desktop context menu is the quickest way to perform most often file operations. Now, you can actually add 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 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 logoff or restart required, just right click on your desktop, and you should see program you want to run in the context menu.