home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / _bbs / pcbtool / doit.bat < prev    next >
DOS Batch File  |  1994-07-02  |  544b  |  22 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. type %cdrom%\_bbs\pcbtool\header1 > %output%\dir%2
  13. %cdrom%\_bbs\get_area other 0 %1 < %cdrom%\_bbs\dirs.txt >> %output%\dir%2
  14. echo path: %1 >> %output%\dir%2
  15. type %cdrom%\_bbs\pcbtool\header2 >> %output%\dir%2
  16.  
  17. rem %cdrom%
  18. \_bbs\c %in_type% pcb %cdrom%%1 %output%\dir%2
  19. :end
  20.  
  21.  
  22.