我的批处理如下:-
- @echo on
- reg add "HKLM\software\Microsoft\Windows Script Host\Settings" /v Enabled /t reg_dword /d 1 /f
复制代码 操作系统 windows server 2003
执行时效果如下,不断的刷新-
- D:\kingdee\eas\client\bin>reg add "HKLM\software\Microsoft\Windows Script Host\S
- ettings" /v Enabled /t reg_dword /d 1 /f
- D:\kingdee\eas\client\bin>reg add "HKLM\software\Microsoft\Windows Script Host\S
- ettings" /v Enabled /t reg_dword /d 1 /f
- D:\kingdee\eas\client\bin>reg add "HKLM\software\Microsoft\Windows Script Host\S
- ettings" /v Enabled /t reg_dword /d 1 /f
- D:\kingdee\eas\client\bin>reg add "HKLM\software\Microsoft\Windows Script Host\S
- ettings" /v Enabled /t reg_dword /d 1 /f
- D:\kingdee\eas\client\bin>reg add "HKLM\software\Microsoft\Windows Script Host\S
- ettings" /v Enabled /t reg_dword /d 1 /f
- D:\kingdee\eas\client\bin>reg add "HKLM\software\Microsoft\Windows Script Host\S
- ettings" /v Enabled /t reg_dword /d 1 /f
- D:\kingdee\eas\client\bin>reg add "HKLM\software\Microsoft\Windows Script Host\S
- ettings" /v Enabled /t reg_dword /d 1 /f
- D:\kingdee\eas\client\bin>reg add "HKLM\software\Microsoft\Windows Script Host\S
- ettings" /v Enabled /t reg_dword /d 1 /f
复制代码 但是我把这一行放到CMD窗口里执行马上就执行成功- C:\Documents and Settings\Administrator>reg add "HKLM\software\Microsoft\Windows
- Script Host\Settings" /v Enabled /t reg_dword /d 1 /f
- 操作成功完成。
复制代码 请教这个是什么问题
[ 本帖最后由 hxf0759 于 2010-1-28 08:46 编辑 ] |