Drink Beer and Geek Out

How-To add “Open with Notepad” to the Context Menu

Normally when you right click a file of unknown file type (usually some file without an extension, or an extension windows does not recognize) Windows will ask you to select an application.  You have to follow a set of windows dialog screens until you get to where you want and select your application.  Most of the time, I just want to open a file with notepad.  In this how-to we’ll show you how to just add an “Open with Notepad” to the menu when right clicking a file!

We will replace that ugly dialog box with a fresh clean easy to use interface:

Manual Registry Hack

Click Start –> In the Run/Search type regedit.exe and press enter.  Browse down to the following key:

 HKEY_CLASSES_ROOT\*\shell

Right-click on “shell” and choose to create a new key.  Name this key “Open with Notepad” (without the quotes). Right click and create a new key. Name this key “command”.  Double-click on the (Default) value in the right-hand pane and enter in the following:

 notepad.exe %1

The change should take effect immediately… just right-click on any file and you’ll see the next menu entry.

Download the Open with Notepad Registry Fix File

If you prefer just downloading a file, click the link below to download a registry fix (one enables, one disables) to enable “Open with Notepad” automatically.

zipDownload Link: Enable Open with Notepad Windows 7

Leave a Reply