home *** CD-ROM | disk | FTP | other *** search
/ CICA 1996 August / CICA1_0896.bin / _bbs / rbbstool / all.bat < prev    next >
DOS Batch File  |  1996-04-15  |  1KB  |  45 lines

  1. REM  To run this one batch file, change it here also.
  2. if .%CDROM% == . goto cd_not_set
  3. goto cd_set
  4. :cd_not_set
  5. goto end
  6. :cd_set
  7.  
  8. rem this is where the actual files live
  9. rem this is where you want your index files (full path, with drive)
  10. set output=%CDROM%\_bbs\rbbs
  11.  
  12. REM  I set this globally, in ..\all.bat
  13. REM  To run this one batch file, change it here also.
  14. if .%in_type% == . goto not_set
  15. goto set
  16. :not_set
  17. echo in_type not set
  18. goto end
  19. :set
  20.  
  21. rem you shouldn't have to change anything below this.
  22.  
  23. REM  This is the foreign language stuff.  the default extension is
  24. REM  ".txt"
  25. if .%in_language% == . goto not_set2
  26. goto set2
  27. :not_set2
  28. set in_language=txt
  29. :set2
  30.  
  31. del logfile
  32. del ..\logfile
  33. echo y | del %output%\*.*
  34.  
  35. %cdrom%\_bbs\each_dir 1    \_bbs\dirs.%in_language%   doit2
  36.  
  37. %cdrom%\_bbs\each_dir 1    \_bbs\dirs.%in_language%   doit3
  38.  
  39. type makefidx.1 > makefidx.cfg
  40. %cdrom%\_bbs\each_dir 1    \_bbs\dirs.%in_language%   doit4
  41. type makefidx.2 >> makefidx.cfg
  42.  
  43. call makeffs
  44. :end
  45.