Replace notepad with notepad2
Zhengzhiren
Http://blog.csdn.net/ZhengZhiRen/archive/2011/01/27/6167136.aspx
If you think that the notepad provided by Windows is too simple, you can find anotherFast and lightweight startupReplace notepad with the text editorNotepad2 (open-source)Is a good choice.
Notepad2 homepage: http://www.flos-freeware.ch/notepad2.html
As you can see, notepad2 has multiple derivative versions. Among them, a Chinese American of Kai Liu (Liu Miao) has expanded notepad2 and joinedCodeFold and other functions, and provide a more "elegant" MethodReplace notepadHttp://code.kliu.org/misc/notepad2 ).
This replacement method is based onImage hijack)It seems that many viruses like to use. The specific steps are as follows:
- Download a notepad2 version that supports replacement of notepad
- Create a registry key: HKLM/software/Microsoft/Windows NT/CurrentVersion/Image File Execution options/notepad.exe
- Under this key, create a string value named "Debugger" (reg_sz)
- Set the value of "Debugger" to the path of notepad2.exe and keep up with the/Z parameter. Example: "C:/Windows/notepad2.exe"/Z
This version on Google (http://code.google.com/p/notepad2-mod/) based on the Kai Liu version has made some modifications. It seems that this project is active. Use this version. Download an installer. After installation, you have set the registry, saving yourself the trouble of modifying the registry.
Open the TXT file now, or run notepad to open the actualProgramAll are notepad2. No speed reduction!