记事本:
程序代码
reg add "HKLM\SOFTWARE\Microsoft\Internet Explorer\View Source Editor\Editor Name" /f /ve /t REG_SZ /d "notepad.exe"
EmEditor:
程序代码
reg add "HKLM\SOFTWARE\Microsoft\Internet Explorer\View Source Editor\Editor Name" /f /ve /t REG_SZ /d "C:\PROGRA~1\EmEditor\EMEDHTML.EXE"
可以在开始-运行直接输入,比如:
引用内容
cmd /c reg add "HKLM\SOFTWARE\Microsoft\Internet Explorer\View Source Editor\Editor Name" /f /ve /t REG_SZ /d "notepad.exe"
注册表导入:
程序代码
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\View Source Editor\Editor Name]
@="C:\\PROGRA~1\\EmEditor\\EMEDHTML.EXE"
整理了处理方法,方便有用到的朋友。