« Configuring ScribeFire for Movable Type | Main | How to find out CPU utilization in Linux? »

Add "Open with Notepad" to the Context Menu for All Files

I often use Notepad to open plain text files. If the extension of file is of unknown type then I have to browse a list of applications to open that file which is quite painful. Here is a small registry tweak which adds "Open with Notepad" to right click context menu for all file types.

Manual Registry Tweak

Go to start menu and in search or run box type regedit and press enter to open registry editor. Now browse to following registry key:

HKEY_CLASSES_ROOT\*\shell

Right-click on "shell" and choose to create a new key "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

The change will take place instantaneously and you could see Open with Notepad option in right click context menu.

Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. I cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.

TrackBack

TrackBack URL for this entry:
http://blogs.oracle.com/mt/mt-tb.cgi/10160

Comments (2)

I like this in principle because I too like the option of seeing many kinds of text files in a text editor. But you've got to have a better text editor than Notepad. Here's one: Notepad++, available from http://notepad-plus.sourceforge.net/uk/site.htm. When you install Notepad++, it automatically adds an "Open with Notepad++" to your context menus.

Rohit:

Really helpful. Have always wanted to do this myself but could not find a way out.
Thanks for explaining the method so lucidly.

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About This Entry

This page contains a single entry from the blog posted on February 20, 2009 2:54 PM.

The previous post in this blog was Configuring ScribeFire for Movable Type.

The next post in this blog is How to find out CPU utilization in Linux?.

Many more can be found on the main index page or by looking through the archives.

Creative Commons License
This weblog is licensed under a Creative Commons License.
Powered by
Movable Type and Oracle