home *** CD-ROM | disk | FTP | other *** search
/ CICA 1996 August / CICA2_0896.bin / _bbs / pcbtool / doit.bat < prev    next >
DOS Batch File  |  1996-07-17  |  822b  |  23 lines

  1. @echo off
  2. rem %1 == disc directory
  3. if exist %cdrom%%1\00_index.%in_language% goto ok
  4. echo no such file: %cdrom%%1\00_index.%in_language% >> logfile
  5. goto end
  6. :ok
  7. if exist %output%\dir%2 goto bad
  8. goto ok2
  9. :bad
  10. echo duplicate output file: %output%\dir%2 >> logfile
  11. goto end
  12. :ok2
  13.  
  14. %cdrom%\_bbs\printh %cdrom% "#a.  #d.  Walnut Creek CDROM.\n"  > %output%\dir%2
  15. %cdrom%\_bbs\get_area other 0 %1 < %cdrom%\_bbs\dirs.%in_language% >> %output%\dir%2
  16. echo path: %1 >> %output%\dir%2
  17. %cdrom%\_bbs\printh %cdrom% "#*-+25#a#d]\n" >> %output%\dir%2
  18. %cdrom%\_bbs\printh %cdrom% "Name           Size      Date    Description\n" >> %output%\dir%2
  19. %cdrom%\_bbs\printh  %cdrom% "============ ========  ========  #*=-8#a#d]\n" >> %output%\dir%2
  20.  
  21. %cdrom%\_bbs\c %in_type% pcb %cdrom%%1 %output%\dir%2 %in_language%
  22. :end
  23.