REM  This batch file performs the actual archive BBS ad processing.  It is
REM  designed for ZIP files only, but can easily be adapted for other
REM  archive formats by changing the PKUNZIP and PKZIP command lines.
REM
REM  Note that this batch file assumes that AntiAd is in the path D:\ANTIAD\
REM  (capitalized for easy location).  You will have to change these paths
REM  to match your setup.
REM
@Echo off
cls
mkdir testing
chdir testing
pkunzip -o ..\%1
D:\ANTIAD\antiad -CD:\ANTIAD\aa_86.cfg -LD:\ANTIAD\ad.lst
if exist D:\ANTIAD\ad.lst pkzip -d ..\%1 @D:\ANTIAD\ad.lst
if exist D:\ANTIAD\ad.lst del D:\ANTIAD\ad.lst
echo y | del *.*
chdir ..
rmdir testing
