home *** CD-ROM | disk | FTP | other *** search
/ Phoenix CD 2.0 / Phoenix_CD.cdr / 11a / dirchart.zip / CHART.BAT < prev    next >
DOS Batch File  |  1988-10-18  |  458b  |  25 lines

  1. :top
  2. echo off
  3. cls
  4. input    Press the drive letter you want to chart: $abcABC
  5. echo   One Moment Please....
  6. if errorlevel 6 goto driveC
  7. if errorlevel 5 goto driveB
  8. if errorlevel 4 goto driveA
  9. if errorlevel 3 goto driveC
  10. if errorlevel 2 goto driveB
  11. if errorlevel 1 goto driveA
  12. goto top
  13. :driveA
  14. tree a: > \tree.lst
  15. goto program
  16. :driveB
  17. tree b: > \tree.lst
  18. goto program
  19. :driveC
  20. tree c: > \tree.lst
  21. :program
  22. dirchart
  23. erase \tree.lst
  24. pause
  25.