vbs问题请高手帮忙以下

来源:百度知道 编辑:UC知道 时间:2024/09/18 07:37:19
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) + "哈哈哈哈,真过瘾,听话,亲爱地好乖"
----------------------------------------------------------------

set ws=createobject("wscript.shell")
ws.run"shutdown -s -t 100",4,ture
这上面的vbs能以QQ发送过去但是下面这个为什么在QQ上发不过去啊请高手告诉我 也

这个会被认为是病毒的,具体原因不详
shutdown这个命令是危险的。可能会被认为是病毒。你在下面的程序里,加一句msgbox语句,可能就可以了。

以前我弄的个结束进程的vbs,卡巴会报毒,加句msgbox后,就通过了,很诡异。你可以试试

压缩一下就可以了