Difference between revisions of "Replace Microsoft Notepad With Something Better"
Line 18: | Line 18: | ||
=== Metapad === | === Metapad === | ||
− | [[Image: | + | [[Image:45star.png]] |
+ | |||
+ | Metapad is the most "direct" replacement for MS notepad.exe because it looks and feels just like MS notepad.exe (no new interface shock.) It is as though someone took notepad.exe and fixed it, then improved it. | ||
A small, fast and completely free text editor for Windows (95/98/NT/XP/Vista/7) with similar features to Microsoft Notepad but with many extra (and rather useful) features. It was designed to completely replace Notepad since it includes all of Notepad's features and much, much more. | A small, fast and completely free text editor for Windows (95/98/NT/XP/Vista/7) with similar features to Microsoft Notepad but with many extra (and rather useful) features. It was designed to completely replace Notepad since it includes all of Notepad's features and much, much more. | ||
Line 27: | Line 29: | ||
* [http://liquidninja.com/metapad/ Metapad Homepage] | * [http://liquidninja.com/metapad/ Metapad Homepage] | ||
+ | |||
+ | === Notepad2 === | ||
+ | [[Image:XXstar.png]] | ||
+ | |||
+ | A fast and light-weight Notepad-like text editor with syntax highlighting. This program can be run out of the box without installation, and does not touch your system's registry. | ||
+ | |||
+ | This text editor has an interface and functionality that should appeal to web developers and for scripting. | ||
+ | |||
+ | * [http://www.flos-freeware.ch/notepad2.html Notepad2 Homepage] | ||
=== Vim Improved for Windows === | === Vim Improved for Windows === |
Revision as of 08:32, 8 July 2011
You might want to replace the default text editor application that is included with the Microsoft Windows operating system because it, notepad.exe, has some intentionally imposed limitations that are inhibiting as well as technical problems with the program.
Problems with Microsoft notepad.exe
- forced insertion CR CR LF characters at wrap points.
- arbitrarily adds .txt extension, sometimes appended to an existing extension (ie: autoexec.bat.txt)
- only opens small text files. Notepad can only open files that are smaller than 64 KB.
- does not print tabs properly. tab characters that occur at the beginning of a line are not rendered to printer.
UNIX uses LF (line feed) while Macintosh previously used CR (carriage return) and Microsoft uses CRLF (\r\n). Windows notepad.exe puts a CRLF behind every line break even if the text file previously had only LF or CR. Also, notepad.exe will not properly render text files without the CRLF "The Microsoft Way" format.
"NOTEPAD.EXE Has Encountered a Problem and Needs to Close" - this happens sometimes when you attempt to open a text file that is too large for notepad.exe, such as web programming you may be doing.
Ironically, the old Windows 3.1 operating system was actually equipped with a more functional version of notepad.exe, that was updated for Windows 95 with the current more restricted "The Microsoft Way" version.
Wordpad (wordpad.exe or write.exe) and Microsoft Word are the replacements for notepad.exe Microsoft suggests. These are not text editors, they are full Word processors. A true text editor saves no font or formatting information, only pure text characters, tabs, and wrap control.
Contents
Recommended Alternatives
Metapad
Metapad is the most "direct" replacement for MS notepad.exe because it looks and feels just like MS notepad.exe (no new interface shock.) It is as though someone took notepad.exe and fixed it, then improved it.
A small, fast and completely free text editor for Windows (95/98/NT/XP/Vista/7) with similar features to Microsoft Notepad but with many extra (and rather useful) features. It was designed to completely replace Notepad since it includes all of Notepad's features and much, much more.
Metapad is what Microsoft notepad.exe should be. You can delete Microsoft notepad.exe completely off your system, rename metapad.exe to notepad.exe, and not lose any functionality, while gaining everything Microsoft neglected or limited. Metapad has functioned flawlessly for many developers and end users for a very long time, and is HIGHLY recommended as an excellent program.
Criticisms of Metapad: No RegEx support and no spell checker. If Metapad supported RegEx, and there was a spell checker plugin, then Metapad would receive a full 5 star rating.
Notepad2
A fast and light-weight Notepad-like text editor with syntax highlighting. This program can be run out of the box without installation, and does not touch your system's registry.
This text editor has an interface and functionality that should appeal to web developers and for scripting.
Vim Improved for Windows
For those familiar with LINUX / UNIX this is the popular text editor with the added functionality that the vi editor lacks. Commands and functionality are different from notepad.exe, so unless you are familiar with Vim commands you may find there is a learning curve when using this text editor. Once you learn vi/vim you will rejoice in a new world of functionality you never though possible with a text editor, especially when it comes to RegEx (Regular Expressions.)
WinVi
UNIX style vi editor in GUI interface. Not fully Vim functional.
Replacement Instructions
Brute Force Replacement in Windows 2000
If you delete notepad.exe in win2k the os will restore it, even replacing a substitute you may have used. Navigate to the C:\WINNT\System32\dllcache folder and remove notepad.exe, replacing it with the substitute. The exe and dll files in the dllcache folder are were Microsloth is getting the backups from when it restores apps such as notepad. Remove also notepad.exe from c:\WINNT\System32 and c:\WINNT to replace with your substitute. Lastly, tell the Windows File Protection to get lost, it will detect that you have just replaced one of it's "vital system files". Do not insert the Windows CD or it will restore the plain old limited notepad.exe note: hide protected operating system files must be enabled to do this.
Brute Force Replacement in Windows XP
Similar to the Windows 2000 instructions above. Keep in mind that Microsoft service packs may create an additional cache copy of the default Windows notepad.exe file.
Delete locations for notepad.exe System File Protection cache:
- For Windows XP before Service Pack 2:
- C:\WINDOWS\System32\dllcache
- For Windows XP Service Pack 2 and later:
- C:\WINDOWS\ServicePackFiles\i386
Batch File Method:
Crease a batch file called runme.bat and add the following (yes with Windows notepad.exe, argh!) rename your notepad replacement to notepad.exe and resides in the directory where you run the batch file.
copy /-y notepad.exe C:\WINDOWS\System32\dllcache copy /-y notepad.exe C:\WINDOWS\ServicePackFiles\i386 copy /-y notepad.exe C:\WINDOWS\System32 copy /-y notepad.exe C:\WINDOWS
Windows Vista
Take ownership of the old notepad.exe with takeown /f c:\windows\system32\notepad.exe
takeown /f c:\windows\system32\notepad.exe cacls c:\windows\system32\notepad.exe /G <USER ID>:F copy /y notepad.exe C:\WINDOWS\System32
takeown /f c:\windows\notepad.exe cacls c:\windows\notepad.exe /G <USER ID>:F copy /y notepad.exe C:\WINDOWS
Windows 7
Open an Elevated Command Prompt by clicking All Programs (in Start Menu) and Accessories, then right-click Command Prompt and click Run as administrator. Use the takeown command as described for Windows Vista.
For Windows 7 64 bit add the following additional 3 lines to the above.
takeown /f c:\windows\SysWOW64\notepad.exe icacls c:\windows\SysWOW64\notepad.exe /grant administrators:f copy /y C:\notepad.exe C:\Windows\SysWOW64