home *** CD-ROM | disk | FTP | other *** search
/ CICA 1996 August / CICA1_0896.bin / _bbs / pcbtool / doit.bat < prev    next >
DOS Batch File  |  1995-07-10  |  811b  |  22 lines

  1. rem %1 == disc directory
  2. if exist %cdrom%%1\00_index.%in_language% goto ok
  3. echo no such file: %cdrom%%1\00_index.%in_language% >> 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. %cdrom%\_bbs\printh %cdrom% "#a.  #d.  Walnut Creek CDROM.\n"  > %output%\dir%2
  14. %cdrom%\_bbs\get_area other 0 %1 < %cdrom%\_bbs\dirs.%in_language% >> %output%\dir%2
  15. echo path: %1 >> %output%\dir%2
  16. %cdrom%\_bbs\printh %cdrom% "#*-+25#a#d]\n" >> %output%\dir%2
  17. %cdrom%\_bbs\printh %cdrom% "Name           Size      Date    Description\n" >> %output%\dir%2
  18. %cdrom%\_bbs\printh  %cdrom% "============ ========  ========  #*=-8#a#d]\n" >> %output%\dir%2
  19.  
  20. %cdrom%\_bbs\c %in_type% pcb %cdrom%%1 %output%\dir%2 %in_language%
  21. :end
  22.