Board logo

标题: VBS 怎么调用程序并且有参数 [打印本页]

作者: qq43142691     时间: 2009-12-27 17:41    标题: VBS 怎么调用程序并且有参数

VBS 怎么调用程序并且有参数
比如

D:\TortoiseSVN\bin\TortoiseProc.exe /min /command:update /path:"F:\SVN" /closeonend:1 /nonrecursive /ignoreexterna

这个程序后面跟了好多参数.
我想用 VBS 隐藏运行它.但是带了很多参数.运行出错:
on error resume next
set shell=createobject("wscript.shell")
wscript.sleep 1000
shell.run "D:\TortoiseSVN\bin\TortoiseProc.exe /command:update /path:"F:\SVN" /closeonend:1 /nonrecursive /ignoreexternals",0

这样会出错
作者: slore     时间: 2009-12-27 18:36
里面的引号用2个引号表示