[ Last edited by semiuel on 2008-2-25 at 11:27 AM ]作者: 313885174 时间: 2008-2-26 17:05 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 attrib -s -h -r %%a:\Autorun.inf
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 /q /s %%a:\Autorun.inf作者: ITU 时间: 2008-3-11 23:16 也可以试试这个 :)
@echo off
if "%1"=="/u" goto uninstall
if "%1"=="/?" goto help
for %%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 if not exist %%i:\autorun.inf\nul del /a %%i:\autorun.inf
attrib -r -s -h -a %%i:\autorun.inf
if exist %%i:\autorun.inf if not exist %%i:\autorun.inf\nul ren %%i:\autorun.inf autorun.tmp ) & (
if not exist %%i:\autorun.inf if exist %%i:\nul md %%i:\autorun.inf & (
md %%i:\autorun.inf\免疫防护文件...\ ) &(
attrib +r +s +h +a %%i:\autorun.inf ) &(
echo 预防Autorun病毒的入侵, 请不要删除。 > %%i:\autorun.inf\说明.txt ) ) )
goto end
:uninstall
for %%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\nul if exist %%i:\nul rd /s /q %%i:\autorun.inf )
goto end
:help
echo.
echo %0 建立Autorun.inf文件
echo %0 /u 卸载Autorun预防补丁.
echo.
echo.
:end
set notauto=
echo.
echo 完成!
pause
[ Last edited by ITU on 2008-3-12 at 12:50 AM ]作者: woo88 时间: 2008-3-12 15:29 怎么不行呢作者: wistron1 时间: 2008-3-20 12:29
nice i get it