home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1995 October / Simtel-MSDOS-Oct1995-CD1.iso / _bbs / rbbstool / all.bat < prev    next >
DOS Batch File  |  1995-05-27  |  675b  |  30 lines

  1. rem this is where the actual files live
  2. set cdrom=n:
  3. rem this is where you want your index files (full path, with drive)
  4. set output=n:\_bbs\rbbs
  5.  
  6. REM  I set this globally, in ..\all.bat
  7. REM  To run this one batch file, change it here also.
  8. if .%in_type% == . goto not_set
  9. goto set
  10. :not_set
  11. echo in_type not set
  12. goto end
  13. :set
  14.  
  15. del logfile
  16. del ..\logfile
  17. echo y | del %output%\*.*
  18.  
  19. %cdrom%\_bbs\each_dir 1    \_bbs\dirs.txt   doit2
  20.  
  21. type header1 > %output%\all.dir
  22. %cdrom%\_bbs\each_dir 1    \_bbs\dirs.txt   doit3
  23.  
  24. type makefidx.1 > makefidx.cfg
  25. %cdrom%\_bbs\each_dir 1    \_bbs\dirs.txt   doit4
  26. type makefidx.2 >> makefidx.cfg
  27.  
  28. call makeffs
  29. :end
  30.