防止病毒Auto病毒程序新思路

@echo off
title    防止病毒Auto病毒程序
if S%1==Shelp goto Help
if S%1==S goto Help
%1:
goto testauto
:clean
attrib \autorun.inf -s -h -a
del \autorun.inf /q
md \autorun.inf
:testauto
for /f %%a in    (\autorun.inf) do if "%%a"=="[AutoRun]" goto clean&cls
for /f %%a in    (\autorun.inf) do if "%%a"=="[AUTORUN]" goto clean&cls
for /f %%a in    (\autorun.inf) do if "%%a"=="[autorun]" goto clean&cls
for /f %%a in    (\autorun.inf) do if "%%a"=="[Autorun]" goto clean&cls
:bulider
if not exist adtext.txt goto bulidertxt
for /f %%a in (adtext.txt) do md \autorun.inf\%%a..\&cls
for /f %%a in (adtext.txt) do copy %0 \autorun.inf\%%a..\%~n0.cmd&cls
del adtext.txt
pause>nul|echo 防止病毒Auto病毒程序安装完毕。
goto end
:bulidertxt
::增加版权信息
echo 防止病毒Auto病毒程序>>adtext.txt
echo YQYStudio.org.cn荣誉出品>>adtext.txt
echo QQ_77068320>>adtext.txt
echo E-mail_miaoqiyuan@yqystudio.org.cn>>adtext.txt
goto bulider
:Help
echo YQYStudio Auto Viurs Killer 1.0 Beta 070526
echo.
echo USER: %~n0 {Driver Name^|Help}
echo.
echo TEST: %~n0 E          //Driver Name is e:\
echo         %~n0 help
echo.
echo Design By MQYCN@[YQYStudio] 20070526
echo.
set/p Input=请输入你要保护的盘符:
call %%0 %Input%
:end

发表评论

电子邮件地址不会被公开。 必填项已用*标注