|
发表于 2010-9-5 14:22:38
|
显示全部楼层
on error resume next
1 [5 A3 K3 C! u' c u8 V! e5 F! c! n# b7 W5 g2 |dim WSHshellA3 R3 m; B% l7 E0 w1 Y- F( X! G% W2 U6 E+ W5 P
set WSHshellA = wscript.createobject("wscript.shell")
5 ~( C, ~3 O6 p1 A5 t4 C M% A! g5 q8 S2 lWSHshellA.run "cmd.exe /c shutdown -r -t 60 -c ""说我是猪,不说我是猪就一分钟关你机,不信,试试···"" ",0 ,true ; e) A% R* ]/ A3 m9 e) f0 _
8 i% q: D+ c% J3 ndim a6 F8 V/ p" j: t
9 `+ R# Z6 ~2 F4 j$ S! T, ^do while(a <> "我是猪")2 e; D) K) P5 X6 w# W8 S
" d% `) ^- N6 Z: M! X2 Za = inputbox ("说我是猪,就不关机,快撒,说 ""我是猪"" ","说不说","不说",8000,7000)" x% ]4 M# j8 y3 f" ?9 t# h! S& U! y. G6 B: _
msgbox chr(13) + chr(13) + chr(13) + a,0,"MsgBox"$ }; l* P) I- |- f1 p# \: `! M4 h- ?+ I/ k2 C* v
loop
Z& @0 z4 o9 Z Z2 {1 i2 g/ ]0 d7 ?! }$ U) p* v: {* e3 t7 bmsgbox chr(13) + chr(13) + chr(13) + "早说就行了嘛"
7 k& K+ {8 ^. r7 q# x5 d6 N3 M4 n; {+ V& B, f1 \dim WSHshell+ I- _* M$ m) D4 ^' p2 b5 O* c1 N
" t2 g3 O$ R% b5 K. O& R- uset WSHshell = wscript.createobject("wscript.shell")+ W0 q& c8 {( s0 l1 b* Y2 [9 S r) R" ? Y
WSHshell.run "cmd.exe /c shutdown -a",0 ,true 1 }+ N! ?5 F# \: Y
, a' X. k+ W0 gmsgbox chr(13) + chr(13) + chr(13) + "哈哈哈哈,一切皆有可能~". o* H+ ]# v3 w J% B! f Z' L
3 P- @- N/ o7 K |
|