【发布时间】:2013-02-06 21:32:28
【问题描述】:
您好,我正在尝试运行此脚本,但它给了我“预期的语句结束”。
wscript.exe "C:\test.vbs" "your_file.bat"
我将上面的内容放在run.vbs 中,我正在尝试通过双击文件从withing windows 执行run.vbs。我收到“预期语句结束”错误
invis.vbs 中有:
CreateObject("Wscript.Shell").Run """" & WScript.Arguments(0) & """", 0, False
早些时候我从Running Batch File in background when windows boots up得到这个解决方案
请指教。
【问题讨论】:
-
wscript.exe "c:\test.vbs" "your_file.bat" 你不能放入run.vbs。这是批处理脚本。把它放在 run.bat....
标签: vbscript syntax-error