Replacing Notepad With Your Text Editor of Choice
I stumbled upon a site the other day while looking for a way to permanently replace notepad.exe with Notepad2. I knew there had to be a way to do it easily; a batch file would work, but I couldn’t locate the dll cache on this machine. So none of the batch files I found would cut it. Then I found Sam. He wrote a beautiful—and quite lengthy—batch file that works in either WinXP or Win2k (maybe older OS’s, too, but don’t count on it.) And the coolest thing about it is all you have to do to work it is drag your preferred Notepad replacement onto the batch file and it does its thing.