home *** CD-ROM | disk | FTP | other *** search
- @echo off
- REM ScanAll.bat Written by Jerry Cain 08/01/91 1:300/8
-
- REM ScanAll.bat scans a directory for common compressed extensions. When
- REM it encounters one, it passes that file to ScanArc.bat which
- REM uncompresses the file and checks for viruses. ScanAll.bat continues
- REM in this fashion until all compressed files have been checked.
-
- REM If you have a version of MsDos which is less than v3.3, change al
- REM occurrences of the word CALL to COMMAND /C
-
-
- cls
- for %%A in (*.lzh) do call scanarc %%A lha
- for %%A in (*.arc) do call scanarc %%A pkunpak
- for %%A in (*.arj) do call scanarc %%A arj
- for %%A in (*.zip) do call scanarc %%A pkunzip
- for %%A in (*.pak) do call scanarc %%A pak
-
- echo Scanning Completed
-