PtokaX forum

Forum => News => Topic started by: bastya_elvtars on 24 March, 2007, 18:21:38

Title: Replacing Notepad to Notepad++
Post by: bastya_elvtars on 24 March, 2007, 18:21:38
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):
http://sourceforge.net/project/showfiles.php?group_id=95717
2. Download Notepad++ launcher :
http://notepad-plus.sourceforge.net/commun/misc/NppLauncher.bin.zip
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 (http://www.briandela.com/blog/archive/2005/07/07/696.aspx).)
Title: Re: Replacing Notepad to Notepad++
Post by: bastya_elvtars on 24 March, 2007, 22:09:16
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.
Title: Re: Replacing Notepad to Notepad++
Post by: bastya_elvtars on 25 March, 2007, 00:20:58
Quote from: Mutor on 24 March, 2007, 23:53:16
Why should a native Windows app have regard for *nix line endings?

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.

There are other advantages like multi-document interface and history saving, but I totally agree with you.
Title: Re: Replacing Notepad to Notepad++
Post by: bastya_elvtars on 25 March, 2007, 00:36:43
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.

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.

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.
Title: Re: Replacing Notepad to Notepad++
Post by: bastya_elvtars on 25 March, 2007, 00:49:28
Quote from: Mutor on 25 March, 2007, 00:47:33
All archive utilities [of consequence] have internal text viewers.

Yeah, I was just talking about an exception. :P
Title: Re: Replacing Notepad to Notepad++
Post by: CHILLCODE? on 28 May, 2007, 23:56:07
1st impression, great for scripts..., will replace LuaEdit I think

and I also rather change what fileextension should open with a certain program ;).
and I don't use unix :)
Title: Re: Replacing Notepad to Notepad++
Post by: blastbeat on 01 June, 2007, 12:10:06
hi

i prefer notepad2 instead of notepad++, seems to be quicker and smaller. There also exist lua support:

http://zigmar.googlepages.com/notepad2withluasupport

Title: Re: Replacing Notepad to Notepad++
Post by: P_pan on 22 August, 2010, 17:15:55
im using notepad++

a few years now and i have to agree its a great tool!
thought i was the only one using it :)

there are also a few plugins for to get
for advanced scripting.....

not gonna say im a such a scripter.....
but for editing it rocks for sure