I'm looking for the perfect method to use Notepad++ like the original Notepad.exe, as the installer/application settings still doesn't offer this (would this be a good feature suggestion?)
There's this method for Notepad2 (http://www.flos-freeware.ch/doc/notepad2-Replacement.html), using "Image File Execution Options" registry key, but it doesn't work with Notepad++, giving an error. Seems that the command line of ++ misses the "/z" functionality of Notepad2.
And extensions like BAT and VBS can't be simply added to registered extensions on Settings, as they actually run when double clicked.
Surely trickier than it seems at a first glance...
Any help would be greatly appreciated!
Did you check http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=Replacing_Notepad ? It has plenty of user-supplied solutions. I haven't tested them perosonally, and would like any interested party to report on their effectiveness and any drawbacks.
I do guess all those represented there works as they are intended to, but it requires the replacement of the notepad.exe file or a separate script to execute the notepad++.exe
Replacing the notepad.exe isn't always possible on a computer (e.x. company computer connected to a domain control, and this is the issue i have a.t.m. and why i am writing here) thus the registry "hack" David mentioned would be a better function, however that could fail as well for some setups i guess.
The Process Explorer by Mark Russinovich also utilizes this method for replacing the windows task manager.
I have not tested the NotepadReplacer by Leonardo Puglia, but i still would like to see a native support for this from Notepad++
Also association with files that actually RUN's on windows i.e. .bat is getting associated the "wrong" way in notepad++ when using the customize to add .bat, it removes the runas and edit command for the specific .bat extension and just adds .bat to the &Edit of notepad++ instead of editing the already existing .bat Shell extension to point to notepad++
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.