rem START BATCH COMMANDS
rem PLEASE MAKE SURE THAT USER ACCOUNT CONTROL (UAC) IS TURNED OFF AND PC HAS BEEN REBOOTED FIRST!
rem If you are using VISTA x32 version, then edit this file first by adding “rem ” in front of every line that contains the phrase “syswow64?. Then run the script again.
@echo off
PAUSEtakeown /f c:\windows\syswow64\notepad.exe
cacls c:\windows\syswow64\notepad.exe /G Administrators:Ftakeown /f c:\windows\system32\notepad.exe
cacls c:\windows\system32\notepad.exe /G Administrators:Ftakeown /f c:\windows\notepad.exe
cacls c:\windows\notepad.exe /G Administrators:Fcopy c:\windows\syswow64\notepad.exe c:\windows\syswow64\notepad.exe.backup
copy c:\windows\system32\notepad.exe c:\windows\system32\notepad.exe.backup
copy c:\windows\notepad.exe c:\windows\notepad.exe.backupcopy notepad2.exe c:\windows\syswow64\notepad.exe
copy notepad2.exe c:\windows\system32\notepad.exe
copy notepad2.exe c:\windows\notepad.exe
@echo on
rem END BATCH COMMANDS
存成'replace.bat',和notepad2的四个文件放在一起,管理员运行。
Monday, March 1, 2010
notepad2 win7
Subscribe to:
Post Comments (Atom)
1 comments:
头晕。。。这是虾米。。。记事本??
Post a Comment