【发布时间】:2016-09-02 15:24:27
【问题描述】:
Set WshShell = WScript.CreateObject( "WScript.Shell" )
Dim strCurDir
strCurDir = WshShell.CurrentDirectory
WshShell.Run strCurDir & "\Advertise.bat", 0, True
Wscript.Sleep(2)
WshShell.Run strCurDir & "\Uninstall.bat", 0, True
Wscript.Sleep(2)
WshShell.Run strCurDir "\Install.bat", 0, True
Set WshShell = Nothing
Wscript.quit
我正在尝试在命令行中执行此脚本。我来了
错误 800A0401 - 预期语句结束。来源:微软 VBScript 编译错误。
【问题讨论】:
标签: batch-file command-line vbscript