@echo off
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 @(
if exist %%a:\nul (
rd %%a:\autorun.inf /s /q >nul 2>nul
del %%a:\autorun.inf /f /q >nul 2>nul
mkdir %%a:\autorun.inf >nul 2>nul
mkdir %%a:\autorun.inf\"病毒免疫勿删除../" >nul 2>nul
copy autorun.ico %%a:\autorun.inf\autorun.ico >nul 2>nul
copy desktop.ini %%a:\autorun.inf\desktop.ini >nul 2>nul
attrib +h +r +s %%a:\autorun.inf\desktop.ini >nul 2>nul
attrib +h +r +s %%a:\autorun.inf >nul 2>nul
)
)
echo.
exit
注:h盘是光驱
[ Last edited by lzymbz on 2008-9-11 at 07:50 AM ]