dim fs,s set fs=wscript.createobject("scripting.filesystemobject") if (fs.FileExits("d:\1.txt")) then elseCreateObject("Shell.Application").ShellExecute "cmd.exe","/c start /b C:\22.bat)","","runas",0end if
你要运行的到底是C:\2.bat 还是 C:\22.bat