home *** CD-ROM | disk | FTP | other *** search
/ Toolkit for DOOM / DOOMTOOL.ISO / _bbs / pcbtool / all.bat next >
DOS Batch File  |  1994-09-12  |  1KB  |  39 lines

  1. REM  ---Change this---
  2. REM Set CDROM to the CDROM drive letter that the disk is in (don't forget
  3. REM the ':'!)
  4. set cdrom=n:
  5. REM  ---Change this---
  6.  
  7. REM  ---Change this---
  8. REM Set OUTPUT to the FULL target path for your DIR files
  9. set output=n:\_bbs\pcb
  10. REM  ---Change this---
  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. set in_type=opus
  18. :set
  19.  
  20. rem you shouldn't have to change anything below this.
  21.  
  22. echo y | del %output%\*.*
  23. del dir.lst
  24. del logfile
  25. del ..\logfile
  26. del dlpath.lst
  27.  
  28. rem this produces the index files for each directory
  29. %cdrom%\_bbs\each_dir 1    %cdrom%\_bbs\dirs.txt   doit
  30.  
  31. rem this produces the dir.lst file
  32. %cdrom%\_bbs\each_dir 1    %cdrom%\_bbs\dirs.txt   doit2
  33.  
  34. rem this produces the dlpath.lst file
  35. %cdrom%\_bbs\each_dir 1    %cdrom%\_bbs\dirs.txt   doit3
  36.  
  37. rem this produces the global index file
  38. %cdrom%\_bbs\each_dir 1    %cdrom%\_bbs\dirs.txt   doit4
  39.