home *** CD-ROM | disk | FTP | other *** search
- echo off
- Rem Set AUTOSCAN=E\UTIL
- AUTOSCAN /q %1 %2 %3 %4
- rem ErrorLevel 1 - AutoScan error or no disk space
- rem ErrorLevel 2 - No New Files.
- rem ErrorLevel 3 - Bad Archive - Will rename to filename.BAD
- rem ErrorLevel 4 - virus found - Will rename to filename.BAD
- if errorlevel 4 goto virus
- if errorlevel 3 goto exit
- if errorlevel 2 goto exit
- if errorlevel 1 goto exit
- :Novirus
- rem Ad is my batch file to add Zip Comments
- call c:\dos\ad *.zip
- goto exit
- :Virus
- echo ********************** WARNING *************************
- echo * Possible Virus - Read AUTOSCAN.LOG for details!!!!!! *
- echo ********************************************************
- :exit
- rem SET AUTOSCAN=
- rem All Done
-