Want another program to run when I type notepad

Punkrulz

Somewhat eXPerienced
Joined
24 Dec 2001
Messages
790
Hey guys,

Right now I want something else to run when I type in notepad. I have a program called Notepad2, open source software that's a major improvement over the current notepad. However, when I type in notepad in the run box, it opens up notepad... and when I type notepad2 in the run box, it doesn't open anything.

I've tried copying the notepad2 file over into the C:\Windows\System32 folder and tried running it that way. Nothing. I've tried renaming notepad.exe to notepad.exe.bak, and renaming notepad2.exe to notepad.exe, and tried running that... but after typing in notepad, Windows still opened up the old school notepad.

How can I make it so that I type notepad and it will automatically run Notepad 2?

Thanks!
 

Electronic Punk

willalwaysbewithyou
Staff member
Political Access
Joined
2 Dec 2001
Messages
18,683
ok
basically notepad.exe is in a folder windows recognises as erm global if you will...

Go to System Properties, Advanced, Environmental Variables and add the following to the path variable:

;C:\<Path to program>\
 

LordOfLA

Godlike!
Joined
2 Feb 2004
Messages
7,026
search the registry for notepad.exe when you come to the apppaths section changed the path in the entry to whatever you want to load and voila.
 

NetRyder

Tech Junkie
Joined
19 Apr 2002
Messages
13,256
I use Notepad2 as well.
Just place it in C:\WINDOWS, along with the regular notepad.exe. You should then be able to get to it using Start>Run>notepad2
 

Punkrulz

Somewhat eXPerienced
Joined
24 Dec 2001
Messages
790
Electronic Punk said:
ok
basically notepad.exe is in a folder windows recognises as erm global if you will...

Go to System Properties, Advanced, Environmental Variables and add the following to the path variable:

;C:\<Path to program>\

Punk, I added it to both places in that Environmental places ... place, and it doesn't work.

LordOfLA said:
search the registry for notepad.exe when you come to the apppaths section changed the path in the entry to whatever you want to load and voila.

I've been searching for it for awhile, I haven't found anything that comes up with apppaths... do you happen to know the exact location of it?

NetRyder said:
I use Notepad2 as well.
Just place it in C:\WINDOWS, along with the regular notepad.exe. You should then be able to get to it using Start>Run>notepad2

I will try that when I get home from work later today...

Mr. K said:
Here's how to replace notepad.exe without Windows restoring it to the original.

Same for that...
 

Members online

No members online now.

Latest profile posts

hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.
Terrahertz wrote on Electronic Punk's profile.
Yo fellas!
Electronic Punk wrote on Sazar's profile.
Where are you buddy?
Perris Calderon wrote on Electronic Punk's profile.
Hey EP! All good with me, applying for Microsoft MVP right now, should have done this a while ago.

Notifications don't work, I only found your response by coming back to hunt up some threads, if you want, give me your email address so we can keep in touch easier!

Forum statistics

Threads
61,999
Messages
673,424
Members
5,593
Latest member
moussa021