标题: [注册表类] 注册表改成BAT执行 [打印本页]
作者: wsok1234 时间: 2012-8-6 17:19 标题: 注册表改成BAT执行
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\mstsc]
@="C:/Program Files/TOOLS/mstsc.html"
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\ping]
@="C:/Program Files/TOOLS/ping.html"
作者: wsok1234 时间: 2012-8-6 17:20
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup /v ServicePackSourcePath /t REG_SZ /d "C:\Documents and Settings\Administrator\桌面\系统" /f
参考不过来
作者: apang 时间: 2012-8-6 18:59
修改默认值的话 /ve
试试- @echo off
- reg add "HKCU\Software\Microsoft\Internet Explorer\MenuExt\mstsc" /t REG_SZ /ve /d "C:\Program Files\TOOLS\mstsc.html"
- reg add "HKCU\Software\Microsoft\Internet Explorer\MenuExt\ping" /t REG_SZ /ve /d "C:\Program Files\TOOLS\ping.html"
复制代码
欢迎光临 批处理之家 (http://www.bathome.net/) |
Powered by Discuz! 7.2 |