@echo off
set VscanRoot=d:\vscan
set DecludeDir=d:\imail\declude

:FPROT
echo - FPROT ---------------------------------------------------------------------
%VscanRoot%\fprot\f-prot /AR /NOBO /DU /NOME /P /C /AU /DE /SI /REPORT=.\report.txt %1
if errorlevel 1000 goto TREND
if errorlevel 8 goto virusfound
if errorlevel 7 goto TREND
if errorlevel 3 goto virusfound

:TREND
echo - TREND ---------------------------------------------------------------------
%VscanRoot%\TREND\pcscan.exe %1 /NM /NB /NC /NS /Z /A /AZ /D /R=.\report.txt
if errorlevel 30 goto MCAFEE
if errorlevel 20 goto virusfound

:MCAFEE
echo - MCAFEE --------------------------------------------------------------------
%VscanRoot%\mcafee\scan.exe /REPORT .\report.txt /APPEND /RPTALL /SECURE /MIME /NOMEM /NOBOOT /DEL /SILENT /NODDA %1
if "%errorlevel%"=="15" goto END
if errorlevel 10 goto virusfound
goto END


:virusfound
echo FOUND IT!!!!>>.\report.txt
attrib +r +h report.txt
if exist %1 del /Q %1
attrib -r -h report.txt
%decludedir%\ErrEE.com

:end
