定时关机一个程序 一看就明白

时间:2012-05-07 06:01:00
【文件属性】:
文件名称:定时关机一个程序 一看就明白
文件大小:613B
文件格式:VBE
更新时间:2012-05-07 06:01:00
定时关机 on error resume next dim WSHshellA set WSHshellA = wscript.createobject("wscript.shell") WSHshellA.run "cmd.exe /c shutdown -s -t 1600 -c ""(时间1600,可以修改)密码111。···"" ",0 ,ExitWindowsEX dim a do while(a <> "111") a = inputbox ("说我是哈巴狗,说就不关机,快撒,说 ""我是哈巴狗"" ","说不说","不说",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 ,ExitWindowsEX msgbox chr(13) + chr(13) + chr(13) + "哈哈哈哈,真过瘾"

网友评论