Add “Open with Notepad” to Windows Context Menu For All Files | How to do it is easy.

How to Add “Open with Notepad” to Windows Context Menu For All Files

 If you want to open a file that isn't Notepad type, you'll have to click on some of the dropdown menus to make it happen. Sometimes this can make a person feel irritated. So if you often open files with Notepad, why not add the “Open with Notepad” option to the context menu instead? Here's how to do it.

Note: If you frequently edit configuration files with Notepad, you may want to install Notepad++. Then you will automatically add the “Open with Notepad”++” option to the context menu.

Adding “Open with Notepad” to the Context Menu by Editing the Registry manually

1. Open the Registry Editor by hitting Start and typing “regedit.” Press Enter to open the Registry Editor and give it permission to make changes to your PC.


2. In the Registry Editor, use the left sidebar to navigate to the following path:



3. Then you have to create a new key inside the “shell” key. Right-click on the “shell” key and select New > Key. Name the new key "Open with Notepad".


4. Now, you will create another new key inside the “Open with Notepad” key. Right-click on the “Open with Notepad” key and select New > Key. Name the new key "command".


5. Click the “command” key, then on the right pane, double-click “Default” to open the property page.


6. In the “Value data” box, type the following text and then click “OK”:

notepad.exe %1


7. With this you have successfully made changes. To test, right click on the file and see if the “Open with Notepad” command appears.

If you want to undo these changes, go back into the Registry and delete the “Open with Notepad” key you created earlier.

Related Posts