notepad2单文件中文版(记事本替代工具)
作者:刚子 日期:2009-03-24
notepad2是一个绿色而强大的文本编辑工具,完全可以替代系统的记事本。比如我最常用的替换空行,统计字数,语法高亮全都有。
notepad2也有很多版本,但是越往后版本功能越复杂累赘,我最喜欢的是1.1版,单文件中文版(连配置文件都没有),体积1.56M,很推荐大家使用,但是此版本有个缺点就是无法使用正则。
所以另外又推荐了一个版本,是美化过的版本,原版是4.2,可以使用正则。
两个版本在下面都提供了下载,喜欢哪个下哪个吧。
如果想直接替换系统自带的记事本文件,具体操作步骤是:
把notepad2.exe改名notepad.exe,然后把下面代码保存为bat格式的文件,并和notepad.exe放同个目录下,然后运行即可。
WIN XP运行此代码:
程序代码
WIN 7运行此代码
程序代码
下载地址:
1.1 http://www.gangzi.org/up/notepad2_1.exe
4.2 http://www.gangzi.org/up/notepad2_4.exe
顺便附上notepad2正则方法:
notepad2也有很多版本,但是越往后版本功能越复杂累赘,我最喜欢的是1.1版,单文件中文版(连配置文件都没有),体积1.56M,很推荐大家使用,但是此版本有个缺点就是无法使用正则。
所以另外又推荐了一个版本,是美化过的版本,原版是4.2,可以使用正则。
两个版本在下面都提供了下载,喜欢哪个下哪个吧。
如果想直接替换系统自带的记事本文件,具体操作步骤是:
把notepad2.exe改名notepad.exe,然后把下面代码保存为bat格式的文件,并和notepad.exe放同个目录下,然后运行即可。
WIN XP运行此代码:
程序代码copy notepad.exe C:\WINDOWS\system32\dllcache
copy notepad.exe C:\WINDOWS\system32
copy notepad.exe C:\WINDOWS
copy notepad.exe C:\WINDOWS\system32
copy notepad.exe C:\WINDOWS
WIN 7运行此代码
程序代码@echo off
takeown /f c:\windows\notepad.exe
takeown /f c:\windows\system32\notepad.exe
echo 在此之前。。请保存所有正打开的记事本文件。。
pause
echo 正在结束记事本进程...
taskkill /f /im notepad.exe 2>nul
echo 备份系统记事本到C盘...
copy /y %windir%\notepad.exe c:\
icacls %windir%\notepad.exe /grant %username%:f /t
icacls %windir%\system32\notepad.exe /grant %username%:f /t
copy /y notepad.exe %windir%
copy /y notepad.exe %windir%\system32
echo 替换完成
takeown /f c:\windows\notepad.exe
takeown /f c:\windows\system32\notepad.exe
echo 在此之前。。请保存所有正打开的记事本文件。。
pause
echo 正在结束记事本进程...
taskkill /f /im notepad.exe 2>nul
echo 备份系统记事本到C盘...
copy /y %windir%\notepad.exe c:\
icacls %windir%\notepad.exe /grant %username%:f /t
icacls %windir%\system32\notepad.exe /grant %username%:f /t
copy /y notepad.exe %windir%
copy /y notepad.exe %windir%\system32
echo 替换完成

下载地址:
1.1 http://www.gangzi.org/up/notepad2_1.exe
4.2 http://www.gangzi.org/up/notepad2_4.exe
顺便附上notepad2正则方法:
评论: 1 | 引用: 0 | 查看次数: -
发表评论
上一篇
下一篇

文章来自:
Tags:
回复
]