在VBScript中调用exe

时间:2015-12-20 07:52:33

标签: vbscript

我试图在VBScript中传递一个exe路径来自动调用它。请建议。

传递路径:

C:\Program Files\TSVN\bin\Tor.exe"/command:repobrowser
Dim objShell
Set objShell = WScript.CreateObject( "WScript.Shell" )
objShell.Run(""C:\Program Files\TSVN\bin\TProc.exe"/command:repobrowser"") 'Not working
Set objShell = Nothing

0 个答案:

没有答案