如果 run 调用的程序路径有空格最好用第一个引号里包括程序路径,后面的参数再用&来连接,参数里面有路径的也应该用引号括起来以免出错,还有你这里 这里你已经 定义了
shell = Wscript.createobject("wscript.shell")
第二行的 createobject("wscript.shell") 完全可以 用 shell 代替
可以改成
Set shell = Wscript.createobject("wscript.shell")
call1 = shell.run ("WebCamPlusSrv.exe ateksoftaudio " & chr(34) & shell.currentdirectory & "\ateksoftaudio.inf" & chr(34),0)