【发布时间】:2011-07-29 13:20:50
【问题描述】:
我知道如何使用 wscript.exe 执行 exe,如下所示:
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "c:\myprogram.exe"
但是我不得不用 cscript.exe 运行我的 vbscript,并且不能使用 WScript 对象。 cscript.exe加载后有什么办法可以执行exe吗?
【问题讨论】:
标签: vbscript