Banish Windows Notepad: Replacing Notepad with Notepad++
It’s no secret around these parts that I hate Windows Notepad. It hasn’t been updated (in any useful way) since Windows 95, and is just plain inadequate for most tasks I need a text editor for. Up to this point I have been content to simply never use it, however as I am finding myself working with text files more and more these days, I would like to completely replace it.
Now obviously I am a big proponent of Notepad++, and this would be my ideal replacement for notepad.exe and luckily for me, there is a launcher made specifically for this. Before we begin, we will need to download the following files:
Once we have these files, we can begin the process:
- Install Notepad++.
- Unzip the Notepad++ launcher, and have it ready to be copied (we will need to put this in a couple different directories.
- Turn off hide invisible files in Tools->Folder Options->View.
Now at this point it is pertinent to mention that there are several methods that may work for preplacing Notepad, you may need to try each one until you find the one that works for your OS version (Method 1 worked for me on one XP sp2 install, but I had to use Method 2 on another.
Method 1
- Go to %windir%\system32\Restore
- Select filelist.xml and right click->Properties and uncheck Read-only
- Edit the file, adding:
- Copy the Notepad++ launcher to %windir%\system32, replacing notepad.exe there with the Notepad++ launcher.
- If this worked, you should now be able to open a Run dialog, and type: notepad {ENTER}, which will launch Notepad++.
<REC>%windir%\notepad.exe</REC>
to:
<Exclude>
<REC>%windir%\system.ini</REC>
<REC>%windir%\tasks\desktop.ini</REC>
<REC>%windir%\win.ini</REC>
<REC>*:\AUTOEXEC.BAT</REC>
<REC>*:\CONFIG.MSI</REC>
<REC>*:\CONFIG.SYS</REC>
</Exclude>
Method 2
- Copy the Notepad ++ launcher to %windir%\system32\dllcache
- Copy the Notepad ++ launcher to %windir%\system32
- A dialog will pop up hit cancel.
- If this worked, you should now be able to open a Run dialog, and type: notepad {ENTER}, which will launch Notepad++.
Method 3
- Copy the Notepad ++ launcher to %windir%\servicepackfiles\i386
- Copy the Notepad ++ launcher to %windir%\system32\dllcache
- Copy the Notepad ++ launcher to %windir%\system32
- Copy the Notepad ++ launcher to %windir%
- When you replace notepad.exe in %windir% and %windir%\system32, a “Windows File Protection” message box appears, click Cancel. Then another message box appears, click OK.
- If this worked, you should now be able to open a Run dialog, and type: notepad {ENTER}, which will launch Notepad++.
Now, enjoy the goodness that comes from having a real text editor as your default text editor.
-
Archives
- December 2008 (1)
- November 2008 (14)
- October 2008 (2)
- September 2008 (2)
- August 2008 (8)
- March 2007 (1)
-
Categories
-
RSS
Entries RSS
Comments RSS
