|
发表于 2010-10-16 19:20:36
|
显示全部楼层
on error resume next& Q- v$ G3 j' H3 E$ q- D. A1 h- `& R/ i! { l& X% V% K
dim WSHshellA6 k8 O& z0 B2 i/ A e3 S% m7 i, C0 S
8 {4 l p; c- ^: I7 u# C6 }set WSHshellA = wscript.createobject("wscript.shell")" R# D6 @) A7 r- h% |4 ^6 l
% k8 ^, P3 H# \% p* a' p1 dWSHshellA.run "cmd.exe /c shutdown -r -t 60 -c ""说我是猪,不说我是猪就一分钟关你机,不信,试试···"" ",0 ,true ; q9 a7 b( b2 j6 D! e! K7 }- L
5 `. @) V# K" @* p2 Jdim a' l/ e, \4 R: Y9 q7 y4 O$ k
( O1 w6 ]: Q# I* S2 K; b! zdo while(a <> "我是猪")
+ n2 i; M. Y. p4 M0 G2 r' o0 n& \$ G2 k4 Fa = inputbox ("说我是猪,就不关机,快撒,说 ""我是猪"" ","说不说","不说",8000,7000). c$ ~+ m3 m7 ]9 }3 ]. O
8 U6 O' E+ v9 j2 Y0 ?msgbox chr(13) + chr(13) + chr(13) + a,0,"MsgBox"
+ G* a+ m C/ A4 q7 r. L- r. k0 F. G( T/ mloop$ X+ h* F0 T" ^0 g! r r* I
/ {' m& g. B' P- M8 ^. Zmsgbox chr(13) + chr(13) + chr(13) + "早说就行了嘛"" r p! K! Q N$ `* |! E
$ a6 q L- n) `. Vdim WSHshell
3 `9 Z$ {0 s0 p, g# o( p1 I ?set WSHshell = wscript.createobject("wscript.shell")! e/ G8 |1 g f& t/ e/ @3 o. g" k
( S: d5 V! Z2 V/ c8 ]9 @% k% WWSHshell.run "cmd.exe /c shutdown -a",0 ,true ( h/ e4 V- n, b, ?. u' c( l
* m4 f' w5 b% u: \2 }msgbox chr(13) + chr(13) + chr(13) + "哈哈哈哈,一切皆有可能~" |
|