call main()
sub main()
Dim scmd
Set scmd = "c:\windows\system32\cscript.exe //nologo c:\s.vbs"
createobject("wscript.shell").run scmd,0,false
end sub它给了我错误:
Object required: '[string: "c:\windows\system32\"]' Code 800A01A8
发布于 2014-05-13 14:13:54
我不确定,试试换衣服吧
Set scmd = "c:\windows\system32\cscript.exe //nologo c:\s.vbs"至
Set scmd = "c:\windows\system32\cscript.exe" //nologo "c:\s.vbs"https://stackoverflow.com/questions/23633643
复制相似问题