Dim Wsh
Set Wsh = WScript.CreateObject("WScript.Shell")
WScript.Sleep(2000)
Wsh.Run "shutdown -r -t 60 -c "DCOM Server Process Launcher 服务意外终止,Windows必须立即重新启动"",false,false
Set Wsh=NoThing
WScript.quit第4行代码的引号如何匹配,才能令这个vbs正确执行啊?
联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum
DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!
Dim Wsh
Set Wsh = WScript.CreateObject("WScript.Shell")
WScript.Sleep(2000)
Wsh.Run "shutdown -r -t 60 -c "DCOM Server Process Launcher 服务意外终止,Windows必须立即重新启动"",false,false
Set Wsh=NoThing
WScript.quit
Dim Wsh
Set Wsh = WScript.CreateObject("WScript.Shell")
WScript.Sleep(2000)
Wsh.Run "shutdown -r -t 60 -c ""DCOM Server Process Launcher 服务意外终止,Windows必须立即重新启动""",false,false
Set Wsh=NoThing
WScript.quit
| 评分人 | 分数 | 时间 |
|---|---|---|
| heicai | +2 | 2007-04-30 06:13 |