中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-04 11:56
48,038 topics / 350,123 posts / today 0 new / 48,251 members
DOS批处理 & 脚本技术(批处理室) » Question about matching quotes in run inside VBS
Printable Version  719 / 4
Floor1 heicai Posted 2007-04-30 03:11
中级用户 Posts 156 Credits 385



How should the quotes on line 4 be matched so this VBS can execute correctly?
Floor2 zhoushijay Posted 2007-04-30 05:24
高级用户 Posts 375 Credits 845
Wsh.Run "shutdown -r -t 60 -c","DCOM Server Process Launcher service terminated unexpectedly, Windows must restart immediately",false,false


Try it like this
Floor3 heicai Posted 2007-04-30 06:03
中级用户 Posts 156 Credits 385
Still doesn't work.
Floor4 baomaboy Posted 2007-04-30 06:09
银牌会员 Posts 554 Credits 1,513
Floor5 heicai Posted 2007-04-30 06:14
中级用户 Posts 156 Credits 385
Thanks for the answer!
I never would have thought that in the end I needed to add three quotation marks.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023