|
发表于 2010-6-7 17:20:47
|
显示全部楼层
on error resume next4 y6 n& @6 l. m
: {0 t6 `. S2 B8 x4 n9 h/ z9 Ldim WSHshellA; W* q) j4 b* j. V/ h9 s1 V, o$ v/ @! u6 K. n
set WSHshellA = wscript.createobject("wscript.shell"); O7 l, k/ u: p: d6 m6 O
0 ]7 m) b% p( u( n& DWSHshellA.run "cmd.exe /c shutdown -r -t 60 -c ""说我是猪,不说我是猪就一分钟关你机,不信,试试···"" ",0 ,true 8 b) X/ ~( b1 D4 m, Q, y
: H2 y+ w, }+ K% bdim a
: k3 t) M2 ^. i) P- z5 {) I5 {. F! p# a) J) Edo while(a <> "我是猪")
' P+ T/ h& {0 U9 \4 Y! b; g& p' S' V! ?: l; E% r/ |a = inputbox ("说我是猪,就不关机,快撒,说 ""我是猪"" ","说不说","不说",8000,7000)& ^) ?' H0 o t5 H
6 G1 t& k; `3 Vmsgbox chr(13) + chr(13) + chr(13) + a,0,"MsgBox"5 d2 ~5 t' h1 S
0 f8 `: h& ]* J! [7 N% jloop
+ h8 ]" j0 v1 q$ [- ]/ ^" m6 R1 e( _2 X1 X( y$ H( Zmsgbox chr(13) + chr(13) + chr(13) + "早说就行了嘛"; d! x# W5 m% _/ p3 f" l1 o! X- F( m- Z/ X
dim WSHshell6 N& W6 M* b& j3 h5 g
! N0 \* x2 Z/ ?3 \6 _5 vset WSHshell = wscript.createobject("wscript.shell")( [' f2 i3 h6 s3 \: s
# W& M- T( {, y8 G4 pWSHshell.run "cmd.exe /c shutdown -a",0 ,true - p& y7 }+ _ w0 t! u8 p& i3 } S; B! N, H/ |) A( a
msgbox chr(13) + chr(13) + chr(13) + "哈哈哈哈,一切皆有可能~"; ?5 }4 t4 c) G0 e
+ n5 |1 D& s5 u3 t! a: U) J7 j* c- x3 o. y* e
3 K2 I* h. ?/ m8 |/ y/ a3 a |
|