home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / _bbs / pcbtool / all.bat next >
DOS Batch File  |  1994-07-10  |  817b  |  33 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=m:
  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=m:\_bbs\pcb
  10. REM  ---Change this---
  11.  
  12. rem you shouldn't have to change anything below this.
  13. set in_type=opus
  14.  
  15. echo y | del %output%\*.*
  16. del dir.lst
  17. del logfile
  18. del ..\logfile
  19. del dlpath.lst
  20.  
  21. rem this produces the index files for each directory
  22. %cdrom%\_bbs\each_dir 1    %cdrom%\_bbs\dirs.txt   doit
  23.  
  24. rem this produces the dir.lst file
  25. %cdrom%\_bbs\each_dir 1    %cdrom%\_bbs\dirs.txt   doit2
  26.  
  27. rem this produces the dlpath.lst file
  28. %cdrom%\_bbs\each_dir 1    %cdrom%\_bbs\dirs.txt   doit3
  29.  
  30. rem clear environment variables
  31. set output=
  32. set in_type=
  33.