« Help! Can't open any VS.NET projects! | Main | MT 3.0 Upgrade »

Notepad2 in Context Menu

Everyone is talking about Notepad2. I'll chime in and say that I've become an overnight fan as well.

I like how TextPad adds itself to the explorer context menu, so last night I took a few minutes to figure out how to add Notepad2 to the context menu. Here's my registry snippet. Download this file, edit it to point to the location of your Notepad2.exe, and and double-click it to add it to your registry. Standard disclaimers apply... It's not my fault if this bit of code hoses your system - all I can say is it didn't hose mine. :)

Here's what it adds to your registry:

If anyone knows of a better way to do this, please let me know in comments below.

Comments

Not that it's a better solution, but I always put a shortcut to Notepad (or its replacement) in my Send To folder. Quick and simple.

Yeah, but that's too many clicks for me. The fewer clicks the better. :)

The problem with Notepad2 is that you can only edit one document at a time. Reliable old Notepad lets me open dozens of separate documents simultaneously. Perhaps there is a setting for this but I didn't see one on my cursory review.

Disable the "Resue Window" option or use the -n command line switch to allow multiple instances.

hey, thanks for the tip, notepad2 is great..

in terms of how I implemented it, I just renamed it to notepad.exe and replaced the notepad.exe in the windows and system32 directory.

You can then just reuse all the already existing windows short-cuts to notepad. Even ie view source now uses it. great!

Windows throws a few warnings about the system becoming unstable as system files have been replaced, but it should be able to cope with notepad being replaced :-)

Hi Steve,

I just decided to substitute notepad.exe with notepad2.exe (rename), works fine.
Thanks,

Bernhard

This is great. I already just straight up replaced notepad with notepad2, so Start | Run | Notepad runs notepad2. But this makes other tasks easy.

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)