home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1995 October / Simtel-MSDOS-Oct1995-CD1.iso / _bbs / pcbtool / all.bat next >
DOS Batch File  |  1995-05-27  |  934b  |  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. echo in_type not set
  18. goto end
  19. :set
  20.  
  21. rem you shouldn't have to change anything below this.
  22.  
  23. echo y | del %output%\*.*
  24. del dir.lst
  25. del logfile
  26. del ..\logfile
  27. del dlpath.lst
  28.  
  29. rem this produces the index files for each directory
  30. %cdrom%\_bbs\each_dir 1    %cdrom%\_bbs\dirs.txt   doit
  31.  
  32. rem this produces the dir.lst file
  33. %cdrom%\_bbs\each_dir 1    %cdrom%\_bbs\dirs.txt   doit2
  34.  
  35. rem this produces the dlpath.lst file
  36. %cdrom%\_bbs\each_dir 1    %cdrom%\_bbs\dirs.txt   doit3
  37.  
  38. :end
  39.