How to Add “Open with Notepad” to the Context Menu on Windows 7

I always like having a  context menu option “Open with Notepad”, it allows me to quickly open up files, see it’s content and sometimes edit it. I find the Open with notepad very useful because the default method of opening unknown files always directs you to a list of known applications which is a pain to deal with.

We will perform a simple registry hack to achieve this.

Click on the start button and on the start menu search type in regedit then browse to the following key:


Right-click on “shell” and choose to create a new key, calling it “Open with Notepad”. Create a new key below that one called “command”. Double-click on the (Default) value in the right-hand pane and enter in the following:

notepad.exe %1

This hack will immediately take effect, right click on any file and you will see the new  menu entry.