home *** CD-ROM | disk | FTP | other *** search
/ CICA 1996 August / CICA1_0896.bin / _bbs / pcbtool / all.bat next >
DOS Batch File  |  1996-04-15  |  1KB  |  48 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  ---Change this---
  9. REM Set OUTPUT to the FULL target path for your DIR files
  10. set output=%CDROM%\_bbs\pcb
  11. REM  ---Change this---
  12.  
  13. REM  I set this globally, in ..\all.bat
  14. REM  To run this one batch file, change it here also.
  15. if .%in_type% == . goto not_set
  16. goto set
  17. :not_set
  18. echo in_type not set
  19. goto end
  20. :set
  21.  
  22. rem you shouldn't have to change anything below this.
  23.  
  24. REM  This is the foreign language stuff.  the default extension is
  25. REM  ".txt"
  26. if .%in_language% == . goto not_set2
  27. goto set2
  28. :not_set2
  29. set in_language=txt
  30. :set2
  31.  
  32. echo y | del %output%\*.*
  33. del dir.lst
  34. del logfile
  35. del ..\logfile
  36. del dlpath.lst
  37.  
  38. rem this produces the index files for each directory
  39. %cdrom%\_bbs\each_dir 1    %cdrom%\_bbs\dirs.%in_language%   doit
  40.  
  41. rem this produces the dir.lst file
  42. %cdrom%\_bbs\each_dir 1    %cdrom%\_bbs\dirs.%in_language%   doit2
  43.  
  44. rem this produces the dlpath.lst file
  45. %cdrom%\_bbs\each_dir 1    %cdrom%\_bbs\dirs.%in_language%   doit3
  46.  
  47. :end
  48.