REM  This batch file loops through all ZIP files in the passed subdirectory,
REM  calling the processing batch file CHK_ADS2.BAT.
REM
REM  You must call this batch file from the same drive that the subdirectory
REM  is located on.  The proper syntax of this batch file is:
REM
REM      CHK_ADS D:\FILES
REM
REM  Note that this batch file assumes that AntiAd is in the path D:\ANTIAD\
REM  (captialized for easy location).  You will have to change these paths
REM  to match your setup.  It also assumes that you are processing .ZIP
REM  files, but can be adapted for other archive formats.
REM
@Echo off
if '%1' == '' goto END
chdir %1
for %%f in (%1\*.zip) call D:\ANTIAD\chk_ads2.bat %%f
:END
exit
