How To: Add “Open with Notepad” Option to Windows Vista Right-Click Context Menu

Do you use Notepad editor very frequently in Windows Vista to open all types of text files? There are situations where you need to open plain-text files (where the file type is not registered in your system, or the file has NO extension at all) using Notepad or any other text editor. Usually, you use the Open With dialog and select Notepad from the list. If Notepad is not available in the list, you browse to Notepad.exe in the Windows folder and add it to the dialog.

This quick Windows Vista registry tweak will add “Open with Notepad” to all of your file context menus. Whenever you right click on a file, you will have the option to open it in Notepad.

open-with-notepad-vista-context-menu

Copy and paste the code below into Notepad.  Then save it as OpenWithNotepad.reg file and import it to the Windows Vista registry by clicking on it.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\Open with Notepad]
@=””

[HKEY_CLASSES_ROOT\*\shell\Open with Notepad\command]
@=”notepad.exe %1″

After implementing the changes, the Open with Notepad option will appear when you right-click on any file type in Windows Vista Explorer. Be aware that opening binary files (For example: .exe, .dll, .com and so forth..) using Notepad and saving them would corrupt the file and may no longer run. Use this Open with Notepad option in Windows Vista right-click context menu only for files containing text content.

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google

Popularity: 2%

Did You Like This Post? Then You Might Find These Also Interesting:

Written by Tony on January 3rd, 2009 with no comments.
Read more articles on Vista How To? and Vista Tweaks.

Related articles

No comments

There are still no comments on this article.

Leave your comment...

If you want to leave your comment on this article, simply fill out the next form:




You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .