无损替换默认notepad的批处理命令文件
文件名:replace_notepad.cmd
[code]
reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe" /v "Debugger" /t REG_SZ /d "\"%~dp0Notepad3.exe\" /z" /f
[/code]
文件名:resotre_notepad.cmd
[code]
reg delete "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe" /v "Debugger" /f
[/code]
文件名:jump_list_support.cmd
[code]
reg add "HKCR\*\OpenWithList\Notepad3.exe" /f
reg add "HKCR\Applications\Notepad3.exe" /v "AppUserModelID" /t REG_SZ /d "Notepad3" /f
reg add "HKCR\Applications\Notepad3.exe\shell\open\command" /ve /t REG_SZ /d "\"%~dp0Notepad3.exe\" %%1" /f
[/code]
【 在 haiyang 的大作中提到: 】
: 谢谢!
: 看来我版本低了。
:
--
FROM 222.212.186.*