给我一个关机命令(要有到记时),并提问回答,回答正确就取消关机命令。(取消后可以正常使用。要后缀为.exe的
就像后缀为.vbs的
on error resume next
dim WSHshellA
set WSHshellA = wscript.createobject("wscript.shell")
WSHshellA.run "cmd.exe /c shutdown -r -t 60 -c ""考你一个题看你一分钟能不能做起!"" ",0 ,true
dim a
do while(a <> "5050")
a = inputbox ("1+2+3+4+5+6……+98+99+100 ","知道不?","不知道",8000,7000)
msgbox chr(13) + chr(13) + chr(13) + a,0,"MsgBox"
loop
msgbox chr(13) + chr(13) + chr(13) + "还行,"
dim WSHshell
set WSHshell = wscript.createobject("wscript.shell")
WSHshell.run "cmd.exe /c shutdown -a",0 ,true
msgbox chr(13) + chr(13) + chr(13) + ".不关你机了!"
这样一个命令。