您好,欢迎访问一九零五行业门户网

VBS中解决带空格路径的三种方法

方法一:
set wshell=createobject("wscript.shell") wshell.run """c:\program files\360\360se\360se.exe""",5,true set wshell = nothing
方法二:
temp="c:\program files\360\360se3\360se.exe" path = chr(34) & temp & chr(34) set wshell=createobject("wscript.shell") wshell.run path,1,true set wshell = nothing
方法三:
public const vbquote = """" temp="c:\program files\360\360se3\360se.exe" path = vbquote & temp & vbquote set wshell=createobject("wscript.shell") wshell.run path,1,true set wshell = nothing
更多vbs中解决带空格路径的三种方法。
其它类似信息

推荐信息