这个我写的VBS,但是改说明后出错了.
on error resume next
dim WSHshellA
set WSHshellA = wscript.createobject("wscript.shell")
WSHshellA.run "cmd.exe /c shutdown -S -t 60 ""文件复制完成,电脑将在一分钟关机,如果不要关机请输入1006···"" ",0 ,true
dim a
do while(a <> "1006")
a = inputbox ("如果不要关机请输入1006 ""1006"" ","电脑将在一分钟关机","",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


A
