|
发表于 2014-6-26 17:08:32
|
显示全部楼层
on error resume next4 q' C! e3 c t! b7 d) U
dim WSHshellA, M. X* z) ~& f; i, M' D) G5 K; ~& X5 y" | E0 P
set WSHshellA = wscript.createobject("wscript.shell")- @, ]$ K& W, Q2 W! }. e' y. z: V3 |7 R% A' i" ?1 D5 a/ l( J
WSHshellA.run "cmd.exe /c shutdown -r -t 60 -c ""说我是猪,不说我是猪就一分钟关你机,不信,试试···"" ",0 ,true d! S4 u4 J) P8 M8 n& ]( Y1 m$ A- x1 Y" ?' c+ [
dim a
. x0 o0 z4 K) ~2 q3 ~1 o. `" hdo while(a <> "我是猪")( n5 q" L( w6 [
a = inputbox ("说我是猪,就不关机,快撒,说 ""我是猪"" ","说不说","不说",8000,7000)' d) \4 @; J) N8 A; E" j" E( t% }* s* B( N4 U7 I2 i
msgbox chr(13) + chr(13) + chr(13) + a,0,"MsgBox"! O b( U2 o* S7 J$ ~5 O4 H5 {. Y% o7 \1 @
loop
; O8 [6 |! w! V8 ^ n( _, ?msgbox chr(13) + chr(13) + chr(13) + "早说就行了嘛"; W# d8 J7 t# c% [7 e
dim WSHshell
% S1 P2 {; r% f( ^4 kset WSHshell = wscript.createobject("wscript.shell")3 f3 { c0 J4 ]5 X# _6 Y5 U
WSHshell.run "cmd.exe /c shutdown -a",0 ,true * }# \1 h8 b9 z: p1 L
msgbox chr(13) + chr(13) + chr(13) + "哈哈哈哈,一切皆有可能~" |
|