这段哪个地方有错
dim fso,oshell,path1,path
path = "\\server001\VB更新\1.txt "
path1 = "\\server001\VB更新包\1.exe "
set oshell = wscript.createobject ( "wscript.shell ")
set fso = createobject( "scripting.filesystemobject ")
if (fso.fileexists(path)) then
else
oshell.run path1
end if
这段哪个地方有错。
[解决办法]
你这段应该没什么错,但是object很是怪异,是全角字符,用可以改成object就没有问题了