本帖最后由 tmplinshi 于 2011-7-20 11:28 编辑
“设置King.bat为自启动.reg”
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"KING"="c:\\Program Files\\Kingsoft\\Kingsoft Internet Security\\King.bat" - reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "KING" /t reg_sz /d "c:\Program Files\Kingsoft\Kingsoft Internet Security\King.bat" /f
- rem “/t reg_sz”可以省略
复制代码 ————————————————————————
“取消King.bat为自启动.reg”
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"KING"=- - reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "KING" /f
复制代码 ————————————————————————
也可以不转换:- Windows Registry Editor Version 5.00
- ; @cls & start regedit /s %0 & exit
- [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden\SHOWALL]
- "CheckedValue"=dword:00000001
复制代码 [ 本帖最后由 tmplinshi 于 2011-1-15 19:01 编辑 ] |