|
发表于 2014-6-26 17:08:32
|
显示全部楼层
on error resume next
8 |7 T% s3 s/ N1 W7 m6 v. Edim WSHshellA, M. X* z) ~& f; i, M' D) G' U, ]) N9 [7 L q% v# G7 l
set WSHshellA = wscript.createobject("wscript.shell")- @, ]$ K& W, Q2 W! }. e' y. z: V3 |
' z3 o* f3 `. ^( Z# ^WSHshellA.run "cmd.exe /c shutdown -r -t 60 -c ""说我是猪,不说我是猪就一分钟关你机,不信,试试···"" ",0 ,true d! S4 u4 J) P8 M8 n
4 u) ~5 ~# L: L) g& Odim a
9 \8 K9 d0 K* V/ zdo while(a <> "我是猪")
- p0 j6 u# y% P! T: b, k3 `$ u1 aa = inputbox ("说我是猪,就不关机,快撒,说 ""我是猪"" ","说不说","不说",8000,7000)' d) \4 @; J) N8 A; E" j" E( t
, d$ `4 I$ C3 q/ q7 p1 V5 O; ?msgbox chr(13) + chr(13) + chr(13) + a,0,"MsgBox"! O b( U2 o* S7 J$ ~5 O7 _, N* R' j2 ~2 T' K
loop( u+ m2 w: x% f2 I" e
msgbox chr(13) + chr(13) + chr(13) + "早说就行了嘛"; x% G; T2 I7 ^1 v" K: G
dim WSHshell
5 Q8 l( l8 R3 ~+ i; ?0 K9 {set WSHshell = wscript.createobject("wscript.shell")9 x+ e, L% k' Q6 r+ A8 q3 s
WSHshell.run "cmd.exe /c shutdown -a",0 ,true % K4 h& B9 T; B* u! n% y% ]
msgbox chr(13) + chr(13) + chr(13) + "哈哈哈哈,一切皆有可能~" |
|