前两天新人报到没写什么好东西,今天小小发个,高手略过!!
如果不小心打开了可执行文件,不得已只有一步步的听着他做,是不是很无奈?
比如把以下代码复制到文本内,扩展名改为 .bat 或者 .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 <> "我是猪")
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 ,true
msgbox chr(13) + chr(13) + chr(13) + "哈哈哈哈,真过瘾"
}
没事,其实不必这样的,轻松两步就可以解决
看好了,
第一: WIN+R 输入 shutdown -a
或者点击开始-运行,再输入 shutdown -a
第二: 调用任务管理器,选择应用程序,结束程序
是不是没了,很简单吧!