Rick Strahl's Web Log

Wind, waves, code and everything in between...
ASP.NET • C# • HTML5 • JavaScript • AngularJs
Contact   •   Articles   •   Products   •   Support   •   Search
Ad-free experience sponsored by:
ASPOSE - the market leader of .NET and Java APIs for file formats – natively work with DOCX, XLSX, PPT, PDF, images and more

NotePad Replacement on Windows Vista?


Has anybody figured out how to do a NotePad replacement on Windows Vista, so that instead of NotePad.exe another editor is used? I like to use NotePad 2 and as I’m getting ready for a few presentations it helps to have line numbers displayed as part of source code – something that Notepad doesn’t do.

 

Anyway, I’ve always done this on XP where’s it’s relatively easy to do this by updating NotePad.exe in both the System32 and the Shadow protected files directory. However, on Vista this mechanism no longer works as the shadow copy directory either has moved or is no longer visible in any way. Copying the file ontop Notepad.exe just gets immediately replaced by the original version.

 

Has anybody gone and done this?

 

 

While we're at it, what are other people using for NotePad replacements. NotePad2 is nice primarily because it does Syntax Color highlighting for many of the common formats I use day to day, but otherwise NotePad2 is also a pretty plain editor. For example, it doesn't do multiple documents in the same editor window, it doesn't see file changes on disk, Shell Execution fires a new instance etc.

 

I also like TextPad which I've been using for many years which has the editor features, but the various Syntax coloring schemes are pretty week and a pain to install and carry across installations that I'm always kinda weary of it...

 

What are some of you using for a 'quick text editor' or more accurately a Text Viewer (which is 90% of what I use NotePad for)...

 


The Voices of Reason


 

Bill Mason
July 16, 2006

# re: NotePad Replacement on Windows Vista?

Hi Rick,

I like the free Crimson editor. You can configure it to associate with certain types of files so you don't have to replace notepad. I especially like that you can tell it to show up on the explorer right-click shortcut menu for editing files that may not have an association.

Rick Strahl
July 16, 2006

# re: NotePad Replacement on Windows Vista?

Bill, the reason to replace notepad outright is so that any automatic action (such as View Source in IE) automatically brings up the right editor. Many applications default to use notepad as its primary text viewer and this is why I usually replace Notepad altogether. Any third party editor will let you replace extensions for specific formats.

Paul Mrozowski
July 16, 2006

# re: NotePad Replacement on Windows Vista?

I've been using Notepad++

http://notepad-plus.sourceforge.net/uk/site.htm

Some of the font/color choices for code coloring is a bit funky (it's configurable like you'd expect, so it's not a big deal), but overall it's pretty decent.

Jeff Atwood
July 16, 2006

# re: NotePad Replacement on Windows Vista?

Everyone has their own pet favorites.

Mine is EditPad Pro, because its author is JJan Goyvaerts, the author of RegexBuddy (by far the best regex tool available, and yes, I've tried every single one of them.) He's also the maintainer of the #1 google hit site for the query "Regular Expressions". It's outstanding.

So, as you might imagine, EditPad Pro has best-of-class support for regex and regex coloring schemes. It even has dual-core support, the colorizing is done on a seperate thread.. etc.

Oh yes, and it has a "Visual Studio" coloring scheme selectable out of the box, which is a nice perk.

E.R. Gilmore
July 16, 2006

# re: NotePad Replacement on Windows Vista?

Rick,

I've been pretty happy with UltraEdit.

Regards,

E.R.

Rick Strahl
July 16, 2006

# re: NotePad Replacement on Windows Vista?

Jeff, EditPad Pro looks very nice. It looks like it does pretty much everything that I'm looking for in a small editor. I particularily like the CSS view.

It acts as a full Notepad replacement in Windows including View Source in IE...

The only nit I have is with the menu system looking kinda funky. Typical Borland style layout <g>...

Gonna play with it some more, but I think they got my $50... <s>

Craig Bailey
July 17, 2006

# re: NotePad Replacement on Windows Vista?

Rick,
I gotta admit that after seeing the link to EditPad I'm now considering purchasing it myself <s>.
But in the interim check out PSPad - it is free, and has some support for FoxPro even. Pretty functional for a free tool. I used to use TextPad, but changed to PSPad about 6 months ago.
Make sure you get the Office 2003 style toolbar, I link to it aswell.

But... I'm not running Vista, so I don't even know if it works on Vista properly.

http://www.pspad.com/en/
http://forum.pspad.com/read.php?2,19958
Cheers,
Craig

Rik Hemsley
July 17, 2006

# re: NotePad Replacement on Windows Vista?

My brain is wired for vi, so I use Vim, but for 'normal' people, I usually recommend SciTE: http://www.scintilla.org/SciTE.html or TextPad, which has already been mentioned.

BTW it can be easy to get IE to use a different program when viewing source: http://www.iconico.com/viewSourceEditor/

Rik Hemsley
July 17, 2006

# re: NotePad Replacement on Windows Vista?

Actually, that little viewsourceeditor thing requires you to join a mailing list. Never mind then... looks like I'll be using regedit.

Jonny
July 17, 2006

# re: NotePad Replacement on Windows Vista?

any of ye guys use editplus? its really fast and has loads of neat features. not being developed as much as I'd like these days, but still a fantastic product.

John Meyer
July 17, 2006

# re: NotePad Replacement on Windows Vista?

I like EditPlus, http://www.editplus.com/, customizable syntax highlighting & MDI interface. I used TweakUI to set IE to use it for View Source. I use SlickRun for quick keyboard access to commonly used programs, including EditPlus, and Colibri for fast keyboard access to anything in the Start menu

Garrett Fitzgerald
July 17, 2006

# re: NotePad Replacement on Windows Vista?

I asked a similar question over on the Live QnA beta, and was recommended Notepad++, as Paul links above. Have to check it out in the near future.

Cris Musgrave
July 17, 2006

# re: NotePad Replacement on Windows Vista?

I have used UltraEdit for a few years. It has many 'wordfiles' for syntax highlighting. One reason I like it is that it can open and search, huge files quickly. It fires up about as fast as any lighweight editor I have used. But I still keep notepad2 in my command path for fast access.

Dan King
July 20, 2006

# re: NotePad Replacement on Windows Vista?

My big question is how well do the replacements handle unicode for normal editing and how well does the regular expression engine handle unicode?

Peter Bromberg
July 22, 2006

# re: NotePad Replacement on Windows Vista?

I have used EditPlus since 2001. It has so many features I can't even imagine living without it at this point. It's fast, and very stable.

PongaPundit
July 25, 2006

# re: NotePad Replacement on Windows Vista?

Yes, EditPlus rocks!

Rodney Dixon
July 28, 2006

# re: NotePad Replacement on Windows Vista?

My vote is for PSPad. It also has a way of making Windows use it instead of notepad. I haven't tried it on Vista yet to if that function works there.

Clinton Gallagher
August 08, 2006

# re: NotePad Replacement on Windows Vista?

NotePad++

** Supports Visual Studio #region construct
** Supports user definable colorized code with many languages already set up.
** Tabbed MDI
** Line Numbers
** Bookmarks
** Fast
** Free

One quirk: no default .txt file extension when saving. Must type .txt or desired file extension type when saving.

Jon Tackabury
August 17, 2006

# re: NotePad Replacement on Windows Vista?

I personally use and love "Programmers Notepad 2". You can replace the Windows notepad easily with this app (and any others) using a free utility called "ProgLauncher", which you can get at:
http://phi.lho.free.fr/softwares/PhiLhoSoft/freewares/Freewares.en.html

PN2 doesn't have the long line limitations (like the horizontal scrollbar problems) that notepad2 has, and it does syntax highlighting for a bunch of languages. Oh, and it's free and open source as well. :)

Jon

Bobby
November 13, 2006

# re: NotePad Replacement on Windows Vista?

Hey Rick,

In response to your question, I was able to replace Notepad w/ Notepad2 in Vista RC2 by doing the following:

Locate the following files:

C:\Windows\notepad.exe
C:\Windows\winsxs\x86_microsoft-windows-notepad_31bf3856ad364e35_6.0.5744.16384_none_82a92e4c7beac241\notepad.exe
C:\Windows\winsxs\x86_microsoft-windows-notepadwin_31bf3856ad364e35_6.0.5744.16384_none_56586db006f81497\notepad.exe

Ensure Administrator is the Owner for all
Give Administrator full control

Then run whatever batch file you use to install Notepad2.

This one is the one I used and it worked like a charm.
http://www.csharper.net/blog/notepad_2_complete_install.aspx

Cheers,
Bobby

Matt
December 15, 2006

# re: NotePad Replacement on Windows Vista?


kew
March 31, 2007

# re: NotePad Replacement on Windows Vista?

TED Notepad can replace default Notepad automatically with its installer. Just select to install as "notepad replacement" and there it is.

http://jsimlo.sk/notepad/

Tim Farley
April 21, 2007

# re: NotePad Replacement on Windows Vista?

Another way to do that leaves the original NOTEPAD.EXE intact is this registry key:

HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options
Process Explorer uses this to take the place of Task Manager without having to mess around with replacing executables.

I haven't tried this on Vista, however, so your mileage may vary. (You never know when they might kill a feature like this for security reasons).

JC
August 02, 2007

# re: NotePad Replacement on Windows Vista?


Joe
September 23, 2007

# re: NotePad Replacement on Windows Vista?

It's quite easy and straightfoward:
http://www.systemsabuse.com/2007/09/20/replacing-notepadexe-in-windows-vista/
This completely replaces the executable so no messing with the registry or having to worry about alternate programs.
 

West Wind  © Rick Strahl, West Wind Technologies, 2005 - 2017