How to add a new option to context menu?

Copper Contributor

The method in the screenshot does not work. Please kindly suggest me how to do that.

add context menu.png

8 Replies
The developer have to code it to make it work with the new context menu.
Sometimes, after a sudden power interruption, it may take a few cycles of powering on and off to get everything back to normal. Just be cautious to avoid causing further damage. Good luck getting your PC up and running again!
Right-click on the shell key (or any other key depending on context) and select New > Key. Name the new key whatever you want to display in the context menu.
Editing the Windows Registry can be risky, and if you make a mistake, it can cause system issues. Always back up the registry before making changes.

@Bounskui 1.Open the Registry Editor:
Press Win + R to open the Run dialog.
Type regedit and press Enter.
2.Navigate to the appropriate registry key:
For adding a context menu option for all file types:
HKEY_CLASSES_ROOT\*\shell
For adding a context menu option for specific file types, navigate to the specific file type:
HKEY_CLASSES_ROOT\.txt\shell (for text files, replace `.txt` with your file type)
3.Create a new key:
Right-click on the shell folder (or the appropriate folder for your file type).
Select New > Key.
Name the key with the text you want to appear in the context menu (e.g., "Open with MyApp").
4.Set the default value:
Click on the new key you created.
In the right pane, double-click the (Default) value and set it to your desired display name (the name that appears in the context menu).
5.Create a command:
Right-click on the key you just created and select New > Key.
Name this key command.
Select the command key, and double-click the (Default) value in the right pane.
Enter the path to the application you want to run, followed by any arguments if necessary, e.g.:
"C:\Path\To\YourApplication.exe" "%1"

Powertoys is releasing a context menu editor soon I believe
This does not work!
Select the newly created key. In the right pane, double-click on the (Default) value and enter the name you want to display in the context menu.