|
发表于 2010-9-5 14:22:38
|
显示全部楼层
on error resume next3 _" |. X, n8 g3 s, q3 Z5 Z
8 V! e5 F! c! n# b7 W5 g2 |dim WSHshellA3 R3 m; B% l7 E0 w1 Y6 K4 S* o9 O1 F
set WSHshellA = wscript.createobject("wscript.shell")
# D8 x, U% a- C* h, v M% A! g5 q8 S2 lWSHshellA.run "cmd.exe /c shutdown -r -t 60 -c ""说我是猪,不说我是猪就一分钟关你机,不信,试试···"" ",0 ,true ; e) A% R* ]/ A3 m9 e) f0 _
5 c H, X& B1 R2 T9 G9 vdim a8 f* H4 v& ]: ^ P7 K
9 `+ R# Z6 ~2 F4 j$ S! T, ^do while(a <> "我是猪")2 e; D) K) P5 X6 w# W8 S
+ f" G4 @3 e2 Y' ~$ ]8 ka = inputbox ("说我是猪,就不关机,快撒,说 ""我是猪"" ","说不说","不说",8000,7000)" x% ]4 M# j8 y3 f" ?9 Q5 c9 K7 l6 ?' U' @" n5 U; F
msgbox chr(13) + chr(13) + chr(13) + a,0,"MsgBox"$ }; l* P) I- |- f1 p. O; k( z! Z6 q8 n" N8 p
loop
: ^/ M0 {$ S7 A6 n+ H. W4 z! }$ U) p* v: {* e3 t7 bmsgbox chr(13) + chr(13) + chr(13) + "早说就行了嘛"
6 \8 J6 B9 E/ }& [4 V5 d6 N3 M4 n; {+ V& B, f1 \dim WSHshell+ I- _* M$ m) D4 ^' p2 b5 O* c1 N+ |) U: N7 R- W# Z
set WSHshell = wscript.createobject("wscript.shell")+ W0 q& c8 {( s0 l1 b `; P$ M( g+ |$ q2 L5 ]1 L5 g
WSHshell.run "cmd.exe /c shutdown -a",0 ,true 1 }+ N! ?5 F# \: Y
/ n( z6 P: `0 @8 ]' Vmsgbox chr(13) + chr(13) + chr(13) + "哈哈哈哈,一切皆有可能~"; [ Y- G6 U! A* H0 r' {+ t
3 P- @- N/ o7 K |
|