HowTo Set Default Windows Text Editor Other than Notepad ?

May 17, 2010

in HowTo,Tricks,Windows

Few weeks back, we had seen the best alternative for notepad, charny text editor which is light weight and portable tool too. But when we all use computers daily, we use the default Notepad as text editor. Today let us see how to change the default windows notepad text editor to someother text editor tool.

edit HowTo Set Default Windows Text Editor Other than Notepad ?

When ever you try to edit a text file by right click the file, context menu will show and when you click edit file, the default text editor notepad opens up (for image files default paint will open), today let us see how to change the default notepad to some other applications like notepad++ or some other text editor.

1. Open the Windows Registry

regedit HowTo Set Default Windows Text Editor Other than Notepad ?

2. To open registry, Go to Start > Click Run > Type [regedit] and hit [enter].

3. Locate the following Registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\SystemFileAssociations

registry editor HowTo Set Default Windows Text Editor Other than Notepad ?

4. Expand the SystemFileAssociations and go to

text\shell\edit\command and on the right side you can find out

regsit HowTo Set Default Windows Text Editor Other than Notepad ?

%SystemRoot%\system32\NOTEPAD.EXE %1

5. To change the program that opens when clicking on the Edit option in the right-click menu simply change the path by double clicking the default word. So that it leads to the application that you want to use, for example

edit the string HowTo Set Default Windows Text Editor Other than Notepad ?

"c:\program files\notepad++\notepad++.exe" "%1"

I have changed to notepad ++ .

Try out and if you face any problem, leave your issues in comments section.

Note : I know, it is very easier to just use right-click and say Open With :D


Liked this post? Got something to say? Share/Comment below. You can also Get Regular Updates. Subscribe to Free RSS Feeds or Email Updates. Follow us on Twitter @madrasgeek and Like us on Facebook.

Subscribe to MadrasGeek for daily tips in your email inbox for free:

Share :

{ 4 comments… read them below or add one }

1 Prashant(PD) May 17, 2010 at 5:52 pm

The best part of this post is “Note : I know, it is very easier to just use right-click and say Open With :D” ;)

Reply

2 Karthick May 18, 2010 at 12:02 pm

:-)

Reply

3 Steven Douglas October 26, 2010 at 6:06 pm

“Note : I know, it is very easier to just use right-click and say Open With”

No, that’s just the point. It’s one more menu step, and I take that annoying extra little step thousands of times. It adds up. It’s not the mountain, it’s the mountains of pebbles in the shoe… Your little fix took a pebble out of my shoe and saved me TONS of frustration. THANK YOU!

I edit Google Earth .kml files all the time, but Notepad makes a complete mess of it (no TAB function or recognition, for crying out loud). Wordpad keeps the tabs in proper order, and saves the files, sans formatting, without a hitch. So I replaced the line calling up notepad.exe to:

“%ProgramFiles%\Windows NT\Accessories\WORDPAD.EXE” “%1″

That did it for me, and thanks again!

Reply

4 shashank October 19, 2011 at 12:01 pm

I done the whole thing still could’nt work for me , is it becoz i’m using windows 7
please help

Reply

Leave a Comment

Previous post:

Next post: