Latest tutorial: Premium Flash Files | Ask Tutorial5! | Subscribe to RSS Register Login Find Hobbies
Advertisement
Do you need more help? You can now Ask Tutorial5! and get free support - Ask a question now!

Open with Notepad - Right-click menu option

(6 votes)
Written by Daniel   
If you like working with text files and generally like opening any information file with Notepad or your favorite editor this registry tweak will save you a lot of time. What this will do is add a new option to your right click menu "Open with notepad" whenever you right-click a file.

Open regedit

Goto Start > Run > Regedit and press Enter.
This will pop-up the Regedit application (Registry Editor) that makes your life easier when trying to modify or tweak your registry.

Modify the registry

Now that you have Regedit opened navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\Shell

Now that you navigated here goto Edit > New > Key and ad the key "notepad" (without the quotes). This should create a folder like icon in your left menu.

Now click the new folder called "notepad", double-click the (Default) file and in the pop-up write:
"Open with Notepad" (without the quotes).

Next click "notepad" and ad another Key value Edit > New > Key and name it "Command" (without the quotes).

Next click the "Command" key, go inside, and double-click the (Default) file and in the pop-up write:

"C:\Windows\System32\Notepad.exe" "%1"


Write exactly like this, INCLUDE ALL THE QUOTES.
Now close Regedit and just right-click any file on your computer, you should now have a new option called "Open with Notepad".
open-with-notepad.gif

This could be extended to any editor you prefer and you can also change the text of the option.


Subscribe now via RSS feed and get all the new tutorials

written by Charan , November 21, 2007

My registry is opening in Notepad not able to work on registry .
written by Karthikiyer , February 05, 2008

I am using windows XP.
I have the file.
I want to open that file in notepad.
when i double click the file,it asks option OPEN WITH
Then I click notepad,it is opened.
Now I want to open the same file in RUN Command.
How I open?
written by Rakesh Sharma , February 05, 2008

On my computer Regedit,msconfig opens in notepad.I been searchinf on net for a long time but could not find any help.Also CMD,Task manager flashes and goes away.
written by deivasigamani , April 08, 2008

hi i am deiva , my system after booting session it displayed some error like "RUNDLL.EXE" how can i clear it , any one help me
written by deivasigamani , April 08, 2008

hi this is deiva and i have one doubt in system registry actually when i opening registry with the use of run command it opens with notepad but i want open the registry with normal mode . how?

Do you need more help? Ask now!
 

busy
Last Updated ( Tuesday, 19 June 2007 )