home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer 5 / 1995-04_Disc_5.iso / heretic / runhere.bat < prev    next >
DOS Batch File  |  1995-01-25  |  548b  |  49 lines

  1. @echo off
  2. cls
  3. echo Please press the letter corresponding to
  4. echo your HARD DRIVE (C, D, E, F, and G are
  5. echo valid drive choices)
  6. choice /c:cdefg /n
  7. if errorlevel 5 goto inst5
  8. if errorlevel 4 goto inst4
  9. if errorlevel 3 goto inst3
  10. if errorlevel 2 goto inst2
  11. if errorlevel 1 goto inst1
  12.  
  13. :inst1
  14. c:
  15. cd\heretic
  16. heretic
  17. c:
  18. goto end
  19.  
  20. :inst2
  21. D:
  22. cd\heretic
  23. heretic
  24. D:
  25. goto end
  26.  
  27. :inst3
  28. E:
  29. cd\heretic
  30. heretic
  31. e:
  32. goto end
  33.  
  34. :inst4
  35. F:
  36. cd\heretic
  37. heretic
  38. F:
  39. goto end
  40.  
  41. :inst5
  42. G:
  43. cd\heretic
  44. heretic
  45. G:
  46. goto end
  47.  
  48. :end
  49.