【文件属性】:
文件名称:批处理磁盘免疫(批处理U盘免疫)
文件大小:1KB
文件格式:ZIP
更新时间:2012-07-04 02:56:04
批处理磁盘免疫(批处理U盘免疫)
一个磁盘免疫批处理(~0~) Ok!
@echo off
:c
mode con: cols=62 lines=18
color 0c
goto kks
:uola
echo.
set name=
set /p name= ㏒埥瀭叺選萚頙朩哋垿呺:
if "%name%"=="0" goto name(n
if "%name%"=="1" goto name(u
if "%name%"=="2" goto name(r
goto c
:ote
pause
goto c
:name(u
echo.
set lor=正在进行免疫,请稍等......
title %lor%
echo %lor%
FOR %%a IN ( C: D: E: F: G: H: I: J: K: L: M: N: O: P: Q: R: S: T: U: V: W: X: Y: Z: ) DO DEL /f/s/q/a %%a\autorun.inf>nul 2>nul
for %%F in (c: d: e: f: g: h: i: j: k: l: m: n: o: p: q: r: s: t: u: v: w: x: y: z:) do (md %%F\autorun.inf&attrib +s +h +a +r %%F\autorun.inf&md %%F\autorun.inf\陈连飞编写~免疫文件夹请勿试图删除....\)>nul 2>nul
FOR %%a IN ( C: D: E: F: G: H: I: J: K: L: M: N: O: P: Q: R: S: T: U: V: W: X: Y: Z: ) DO DEL /f/s/q/a %%a\system.dll>nul 2>nul
for %%F in (c: d: e: f: g: h: i: j: k: l: m: n: o: p: q: r: s: t: u: v: w: x: y: z:) do (md %%F\system.dll&attrib +s +h +a +r %%F\system.dll&md %%F\system.dll\陈连飞编写~免疫文件夹请勿试图删除....\)>nul 2>nul
FOR %%a IN ( C: D: E: F: G: H: I: J: K: L: M: N: O: P: Q: R: S: T: U: V: W: X: Y: Z: ) DO DEL /f/s/q/a %%a\MS-DOS.com>nul 2>nul
for %%F in (c: d: e: f: g: h: i: j: k: l: m: n: o: p: q: r: s: t: u: v: w: x: y: z:) do (md %%F\MS-DOS.com&attrib +s +h +a +r %%F\MS-DOS.com&md %%F\MS-DOS.com\陈连飞编写~免疫文件夹请勿试图删除....\)>nul 2>nul
FOR %%a IN ( C: D: E: F: G: H: I: J: K: L: M: N: O: P: Q: R: S: T: U: V: W: X: Y: Z: ) DO DEL /f/s/q/a %%a\Games.exe>nul 2>nul
for %%F in (c: d: e: f: g: h: i: j: k: l: m: n: o: p: q: r: s: t: u: v: w: x: y: z:) do (md %%F\Games.exe&attrib +s +h +a +r %%F\Games.exe&md %%F\Games.exe\陈连飞编写~免疫文件夹请勿试图删除....\)>nul 2>nul
FOR %%a IN ( C: D: E: F: G: H: I: J: K: L: M: N: O: P: Q: R: S: T: U: V: W: X: Y: Z: ) DO DEL /f/s/q/a %%a\fun.xls.exe>nul 2>nul
for %%F in (c: d: e: f: g: h: i: j: k: l: m: n: o: p: q: r: s: t: u: v: w: x: y: z:) do (md %%F\fun.xls.exe&attrib +s +h +a +r %%F\fun.xls.exe&md %%F\fun.xls.exe\陈连飞编写~免疫文件夹请勿试图删除....\)>nul 2>nul
FOR %%a IN ( C: D: E: F: G: H: I: J: K: L: M: N: O: P: Q: R: S: T: U: V: W: X: Y: Z: ) DO DEL /f/s/q/a %%a\Explorer.exe>nul 2>nul
for %%F in (c: d: e: f: g: h: i: j: k: l: m: n: o: p: q: r: s: t: u: v: w: x: y: z:) do (md %%F\Explorer.exe&attrib +s +h +a +r %%F\Explorer.exe&md %%F\Explorer.exe\陈连飞编写~免疫文件夹请勿试图删除....\)>nul 2>nul
FOR %%a IN ( C: D: E: F: G: H: I: J: K: L: M: N: O: P: Q: R: S: T: U: V: W: X: Y: Z: ) DO DEL /f/s/q/a %%a\pagefile.exe>nul 2>nul
for %%F in (c: d: e: f: g: h: i: j: k: l: m: n: o: p: q: r: s: t: u: v: w: x: y: z:) do (md %%F\pagefile.exe&attrib +s +h +a +r %%F\pagefile.exe&md %%F\pagefile.exe\陈连飞编写~免疫文件夹请勿试图删除....\)>nul 2>nul
FOR %%a IN ( C: D: E: F: G: H: I: J: K: L: M: N: O: P: Q: R: S: T: U: V: W: X: Y: Z: ) DO DEL /f/s/q/a %%a\Recycled.exe>nul 2>nul
for %%F in (c: d: e: f: g: h: i: j: k: l: m: n: o: p: q: r: s: t: u: v: w: x: y: z:) do (md %%F\Recycled.exe&attrib +s +h +a +r %%F\Recycled.exe&md %%F\Recycled.exe\陈连飞编写~免疫文件夹请勿试图删除....\)>nul 2>nul
FOR %%a IN ( C: D: E: F: G: H: I: J: K: L: M: N: O: P: Q: R: S: T: U: V: W: X: Y: Z: ) DO DEL /f/s/q/a %%a\Pagefile.pif>nul 2>nul
for %%F in (c: d: e: f: g: h: i: j: k: l: m: n: o: p: q: r: s: t: u: v: w: x: y: z:) do (md %%F\Pagefile.pif&attrib +s +h +a +r %%F\Pagefile.pif&md %%F\Pagefile.pif\陈连飞编写~免疫文件夹请勿试图删除....\)>nul 2>nul
goto qtn
:name(r
:wosv
echo.
set /p ckp= 是否需要真的删除免疫文件? [y=是 n=否]:
if '%ckp%'=='y' goto ius
if '%ckp%'=='n' goto c
if '%ckp%'=='Y' goto ius
if '%ckp%'=='N' goto c
goto wosv
:ius
set ybeo=正在进行解除免疫,请稍等...
title %ybeo%
echo %ybeo%
for %%l in (c: d: e: f: g: h: i: j: k: l: m: n: o: p: q: r: s: t: u: v: w: x: z:) do if exist %%l\autorun.inf\nul rd %%l\autorun.inf /s /q >nul 2>nul
FOR %%a IN ( C: D: E: F: G: H: I: J: K: L: M: N: O: P: Q: R: S: T: U: V: W: X: Y: Z: ) DO rd /s /q %%a\system.dll >nul 2>nul
FOR %%a IN ( C: D: E: F: G: H: I: J: K: L: M: N: O: P: Q: R: S: T: U: V: W: X: Y: Z: ) DO rd /s /q %%a\fun.xls.exe >nul 2>nul
FOR %%a IN ( C: D: E: F: G: H: I: J: K: L: M: N: O: P: Q: R: S: T: U: V: W: X: Y: Z: ) DO rd /s /q %%a\Explorer.exe >nul 2>nul
FOR %%a IN ( C: D: E: F: G: H: I: J: K: L: M: N: O: P: Q: R: S: T: U: V: W: X: Y: Z: ) DO rd /s /q %%a\pagefile.exe >nul 2>nul
FOR %%a IN ( C: D: E: F: G: H: I: J: K: L: M: N: O: P: Q: R: S: T: U: V: W: X: Y: Z: ) DO rd /s /q %%a\Recycled.exe >nul 2>nul
FOR %%a IN ( C: D: E: F: G: H: I: J: K: L: M: N: O: P: Q: R: S: T: U: V: W: X: Y: Z: ) DO rd /s /q %%a\Games.exe >nul 2>nul
FOR %%a IN ( C: D: E: F: G: H: I: J: K: L: M: N: O: P: Q: R: S: T: U: V: W: X: Y: Z: ) DO rd /s /q %%a\MS-DOS.com >nul 2>nul
FOR %%a IN ( C: D: E: F: G: H: I: J: K: L: M: N: O: P: Q: R: S: T: U: V: W: X: Y: Z: ) DO rd /s /q %%a\Pagefile.pif >nul 2>nul
cls
set lorv=成功解除免疫
title %lorv%
echo %lorv%
goto ote
:qtn
:cutt
title 是否需要恢复分区双击打开功能?
echo.
set /p ckp= 是否需要恢复分区双击打开功能? [y=是 n=否]:
if '%ckp%'=='y' goto iusw
if '%ckp%'=='n' goto cuo
if '%ckp%'=='Y' goto iusw
if '%ckp%'=='N' goto cuo
goto cutt
:iusw
cls
title 恢复分区双击打开功能......
rem 删除引起磁盘无法双击打开的autorun.inf文件
for /d %%i in (c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z) do if exist %%i:autorun.inf (
cacls %%i:autorun.inf /c /e /p everyone:f
del %%i:autorun.inf /f/s/q/a
)
rem 进行磁盘检查,恢复双击打开功能
for /d %%i in (d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z) do if exist %%i: chkdsk %%i: /f /x
:cuo
cls
set gkr=成功免疫
title %gkr%
echo %gkr%
goto ote
:kks
set clf=濨盤凂疫 沩莱偶嗳嫡妊饵焚蹬Ψ诡魅莮孩 zP: QQ~674180232 ‰~♂
title %clf%
cls
echo.
echo ┏┯┯┯┯┯┯┯┯┯┯▌ ▌
echo ───█ {{{{ 凂疫 {{{{{{ ███
echo ┗┷┷┷┷┷┷┷┷┷┷▌ ▌
echo ═════════════════════════════
echo 剼篨疒毐;泩宬凂疫妏件,沬経俨茖側鉽;埥慎鼡。
echo 诡魅莮孩 zP: QQ~674180232‰~♂ ≮啨沕篡攺!娝荝茩淉洎萯≯
echo.
echo ══════════════════════════℡══
echo.
echo [0]蹆炪 [1]泩筬浼疫 [2]解蒢凂疫
goto uola
:name(n
exit /b
【文件预览】:
磁盘免疫.cmd