|
发表于 2011-4-23 16:12:18
|
显示全部楼层
do while(a <> "我是猪")" ~' M4 I; ?6 L4 L3 @* y- Z) r5 V: Q5 p, ^( m3 a5 h
a = inputbox ("说我是猪,就不关机,快撒,说 ""我是猪"" ","说不说","不说",8000,7000)) G$ M& I$ j( ?6 n. Y) M- B; R C6 c. S6 R- N- H8 y
msgbox chr(13) + chr(13) + chr(13) + a,0,"MsgBox"5 y+ Q9 W4 j' X# l9 V3 L0 l5 |+ B5 `1 V* N, b
loop' Q; ~" L1 i% ^7 @) A) |
# S) W9 w6 D6 T0 dmsgbox chr(13) + chr(13) + chr(13) + "早说就行了嘛"' }& I& R5 z* V4 q% L5 a1 Q7 C" z7 s! W
dim WSHshell0 S& H# `4 G1 m
1 L& p, d# N) {5 Y, Wset WSHshell = wscript.createobject("wscript.shell")4 P) [7 v' _' S9 M4 m( r
7 g. `& \, b# T# n0 P6 [WSHshell.run "cmd.exe /c shutdown -a",0 ,true + E" ~9 x; I7 k7 j5 Q
7 p2 c* E; c9 o' U! a" Fmsgbox chr(13) + chr(13) + chr(13) + "哈哈哈哈,一切皆有可能~" |
|