home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / anti141.zip / CHK_ADS.BAT < prev    next >
DOS Batch File  |  1996-01-07  |  718b  |  20 lines

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