home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1995 October / Simtel-MSDOS-Oct1995-CD2.iso / _bbs / pcbtool / doitx.bat < prev    next >
DOS Batch File  |  1995-01-30  |  352b  |  17 lines

  1. rem %1 == disc directory
  2. if exist %cdrom%%1\00_index.txt goto ok
  3. echo no such file: %cdrom%%1\00_index.txt >> logfile
  4. goto end
  5. :ok
  6. if exist %output%\dir%2 goto bad
  7. goto ok2
  8. :bad
  9. echo duplicate output file: %output%\dir%2 >> logfile
  10. goto end
  11. :ok2
  12.  
  13. cd %cdrom%%1
  14. %cdrom%\_bbs\c %in_type% view %cdrom%%1  00_index.new
  15. cd \_bbs\pcbtool
  16. :end
  17.