Technology Advice by Ryan Taylor Adams

Replace Notepad.exe in Vista with 3rd Party Text Editor

February 5th, 2009 · 2 Comments · Printer Friendly Version


While I make an effort to update older posts to keep them relevant and technically accurate, the rapidly changing nature of the tech world makes it possible that the content of this post may no longer be relevant, current, or even accurate. Additionally, because of this post's age, adding new comments has been disabled. If you would like to contribute new information to this post, or have questions pertaining to this post, please use the Contact Form.

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.

  1. Download this ZIP file.
  2. Extract the contents of the ZIP to your desktop.
  3. Download and install PSPad.
  4. Double-click on the file PSNotePad.bat you extracted from the ZIP file.
  5. Follow the onscreen prompts to select your operating system.
  6. 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.

2 responses so far ↓

  • 1 if // Jun 15, 2009 at 3:27 AM

    didn’t work; must not have copied my substitute

  • 2 Trevor Morris // Feb 10, 2010 at 9:07 AM

    I ran this on Windows 7 (64-bit) and it worked as advertised. Thanks very much!