How to Add Open with Notepad to Context Menu
If you want to open a file type not registered with Notepad, you can add an "Open with Notepad" option to the Context Menu when right-clicking files.
1. Open Registry Editor by typing regedit into Start Menu search box.
2. In the Registry Editor, use the left sidebar to navigate to the following key:
3. Next, you’ll create a new key inside the shell key. Right-click the 'shell' key and choose New --> Key. Name the new key “Open with Notepad”.
4. With the new command key selected, in the right-hand pane, double-click the (Default) value amd select Modify from context menu.
5. In the “Value data” box, type the following text and then click “OK.”
The changes should take place immediately.
1. Open Registry Editor by typing regedit into Start Menu search box.
2. In the Registry Editor, use the left sidebar to navigate to the following key:
Code:
HKEY_CLASSES_ROOT\*\shell
3. Next, you’ll create a new key inside the shell key. Right-click the 'shell' key and choose New --> Key. Name the new key “Open with Notepad”.
4. With the new command key selected, in the right-hand pane, double-click the (Default) value amd select Modify from context menu.
5. In the “Value data” box, type the following text and then click “OK.”
Code:
notepad.exe %1
The changes should take place immediately.