There are a plethora of so-called “notepad replacements” available. Some popular ones include Notepad++ , PSPad , and Notepad2 . All three of these programs can be set as the default editor for text (and other) files, but there are still times when Windows will open a file with plain old Notepad. The solution is to replace the default Notepad program with the 3rd party editor of your choice. Unfortunately, Notepad.exe is protected Windows file, and simply trying to overwrite it will result in failure.
I’ve created a batch file which will automatically replace the built-in Notepad program with a text editor of your choice. The batch file works with both the 32-bit and 64-bit versions of Windows Vista. By default, it is configured to work with PSPad.
- Download this ZIP file .
- Extract the contents of the ZIP to your desktop.
- Download  and install PSPad.
- Double-click on the file PSNotePad.bat you extracted from the ZIP file.
- Follow the onscreen prompts to select your operating system.
- Delete both files you extracted from the ZIP.
If you want to use something other than PSPad, just replace “PSNotePad.exe” (extracted from the ZIP) with the program of your choice.