Right Click - Edit with Notepad

March 18, 2003
misc

Developers and system administrators often need to open files of types that aren't mapped to a particular program. This ofcourse requires that slow "Open With" window to pop up. A trick I recently found is to add a shortcut to the right click menu, to open files with notepad.

This is done by editing the registry, under HKEY_CLASSES_ROOT\*\ There may or may not be a key under the * called Shell, if its not there create a key called Shell under HKEY_CLASSES_ROOT\*\. Under the Shell key create a key called Notepad, and under notepad create a key called Command. So now you shold be in HKEY_CLASSES_ROOT\*\Shell\Notepad\Command. Set the value of (Default) in the Command key to be notepad %1 or the path to another text editor.

Now when you right click on any file there will be a item in the menu called Notepad, that you can use to open the file with notepad.



Like this? Follow me ↯


You might also like:

17 people found this page useful, what do you think?



Foundeo Inc.