Wednesday, December 30, 2009

Replacing Notepad with Notepad++. The automated way!

Although I'm a veteran when it come to software development, I'm kinda old-fashioned when it comes to text editors.

Yep! I kinda like the plain old Notepad! With all its (lack of) features.

But even I have to admit that Notepad++ is a very good software when it comes to editing text files.

Right at the download page there are instructions on how to replace the stock notepad, with the Notepad++.

What struck my programmer self was how manual those instructions were.

So, I rolled up my sleeve and created a BATCH to automate the process: NotepadReplacer.zip

In order to execute this batch file, you need to place it with the Notepad++ AND the Notepad Replacement. Put then BAT and the Notepad Launcher in the Notepad++ installation folder and start the BAT.

If you're running on Windows Vista or Windows 7 it will prompt for the Administrator password, as some actions (like renaming Notepad.exe to Notepad.old) are restricted to administrators.

After the script finish running, you'll have replaced your Notepad with Notepad++.

Enjoy!

0 Comments:

Post a Comment