
CODE: [Copy to clipboard]Set WshShell = WScript.CreateObject("WScript.Shell")
intAnswer = MsgBox("【是】运行 a.bat" _
& vbCrLf & "【否】运行 b.bat" _
, vbQuestion + vbYesNoCancel, "选择")
if intAnswer = vbYes Then
WshShell.Run "a.bat"
end if
if intAnswer = vbNo Then
WshShell.Run "b.bat"
end if
WScript.Quit
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |