|
发表于 2010-10-16 19:20:36
|
显示全部楼层
on error resume next& Q- v$ G3 j' H3 E$ q- D. A9 T: m/ ^& J2 X' ?
dim WSHshellA6 k8 O& z0 B2 i/ A e3 S% m7 i, C0 S
3 y+ z1 X1 ]/ m6 E0 X, Nset WSHshellA = wscript.createobject("wscript.shell")
' o( ]! X3 P" C7 t- ^2 O6 I' g; p% 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! K: W4 `( |2 A9 g7 w; H
dim a# `# I# r) I3 ?$ z# S0 I
( O1 w6 ]: Q# I* S2 K; b! zdo while(a <> "我是猪"). m6 \- ^3 I8 ]
' o0 n& \$ G2 k4 Fa = inputbox ("说我是猪,就不关机,快撒,说 ""我是猪"" ","说不说","不说",8000,7000)$ y. o1 N, D8 c! b$ H% A
8 U6 O' E+ v9 j2 Y0 ?msgbox chr(13) + chr(13) + chr(13) + a,0,"MsgBox"
/ e& R, j2 u) F& I/ {- r. k0 F. G( T/ mloop$ X+ h* F0 T" ^0 g! r r* I3 ?/ C2 C* P- _/ `+ A, _2 }
msgbox chr(13) + chr(13) + chr(13) + "早说就行了嘛"
k+ a6 z0 o3 A$ a6 q L- n) `. Vdim WSHshell
9 Z0 r0 a5 ~8 `. E* ?! A, g# o( p1 I ?set WSHshell = wscript.createobject("wscript.shell")! e/ G8 |1 g f& t/ e/ @3 o. g" k- o- }3 k' \- Z1 [# @$ R
WSHshell.run "cmd.exe /c shutdown -a",0 ,true
4 w7 y) y* P2 t! Y* m4 f' w5 b% u: \2 }msgbox chr(13) + chr(13) + chr(13) + "哈哈哈哈,一切皆有可能~" |
|