Forum > News

Replacing Notepad to Notepad++

(1/2) > >>

I guess many users here (either hubadmins or scripters) will find this howto useful.

1. Download and install Notepad++ (you should install via the installer):
2. Download Notepad++ launcher :
3. Copy notepad.exe which comes with this package into 3 directories (in given order) :

i. c:\windows\system32\dllcache
ii. c:\windows\system32
iii. c:\windows

When you replace notepad.exe in c:\windows\system32 and c:\windows, a "Windows File Protection" message box appears, click Cancel. Then another message box appears, click Yes.

Now Notepad++ is your default Notepad.
(Original post here.)

Yeah it is, but it does not support e. g. Unix line endings, which annoyed me to no end and I sought for a solution... here it is.
Moreover, notepad (be it fake or real) is tightly integrated into Windows and therefore easier for the non-scripter to use for editing scripts.


--- Quote from: Mutor on 24 March, 2007, 23:53:16 ---Why should a native Windows app have regard for *nix line endings?
--- End quote ---

Obviously it shouldn't I just grabbed an example. If I get a source tarball, many readmes are saved with unix line endings.

--- Quote from: Mutor on 24 March, 2007, 23:53:16 ---This still doesn't change the fact that a file type association is much easier to do.
But should users choose to replace note pad with another app, all of consequence
should have internal settings for 'Registered File Types' which create the association
for you as well as integration into Windows context menus. I'm sorry I'm just not a fan
of asking users to manually overwrite things in system folders. But hey, to each, his own.

--- End quote ---

There are other advantages like multi-document interface and history saving, but I totally agree with you.


--- Quote from: Mutor on 25 March, 2007, 00:29:26 ---And what's most annoying is, many of those don't even have a file extension.
This of course forces you to select an application to open with.
--- End quote ---

I have no such annoyances, Tugzip opens then with Notepad for me. (I was talking about tarballs.)

--- Quote from: Mutor on 25 March, 2007, 00:29:26 ---Which in turn quells my method and yours. For these, I can now quickly
use one of my [non windows notepad] editors which are integrated in my
context menus. They are always available regardless of file type/extension.

--- End quote ---

Well, context menu integration is also a systemwide setting.
This is just a howto. If some find it comfortable to use Notepad++ this way, then they should go ahead. I used to replace my notepad to Notepad2 but this is just better.


--- Quote from: Mutor on 25 March, 2007, 00:47:33 ---All archive utilities [of consequence] have internal text viewers.
--- End quote ---

Yeah, I was just talking about an exception. :P


[0] Message Index

[#] Next page

Go to full version