Replacing Notepad to Notepad++
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

Replacing Notepad to Notepad++

Started by bastya_elvtars, 24 March, 2007, 18:21:38

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bastya_elvtars

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.)
Everything could have been anything else and it would have just as much meaning.

bastya_elvtars

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.
Everything could have been anything else and it would have just as much meaning.

bastya_elvtars

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.
Everything could have been anything else and it would have just as much meaning.

bastya_elvtars

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.
Everything could have been anything else and it would have just as much meaning.

bastya_elvtars

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
Everything could have been anything else and it would have just as much meaning.

CHILLCODE?

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 :)

blastbeat

hi

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

http://zigmar.googlepages.com/notepad2withluasupport


P_pan

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

SMF spam blocked by CleanTalk