home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
norge.freeshell.org (192.94.73.8)
/
192.94.73.8.tar
/
192.94.73.8
/
pub
/
computers
/
pcjr
/
arc
/
AUTOSN20.LZH
/
SCANIT.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-01-17
|
653b
|
21 lines
echo off
AUTOSCAN /q %1
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 All Done