home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer 4 / 1995-03_Disc_4.iso / lemming / instlemm.bat < prev    next >
DOS Batch File  |  1994-12-28  |  1KB  |  63 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. md c:\games
  15. md c:\games\l3
  16. xcopy *.* /e c:\games\l3
  17.  
  18. echo To play, enter the directory c:\GAMES\L3
  19. echo then type L3 and press ENTER
  20. c:
  21. goto end
  22.  
  23. :inst2
  24. md D:\games
  25. md D:\games\l3
  26. xcopy *.* /e D:\games\l3
  27.  
  28. echo To play, enter the directory D:\GAMES\L3
  29. echo then type L3 and press ENTER
  30. D:
  31.  
  32. :inst3
  33. md E:\games
  34. md E:\games\l3
  35. xcopy *.* /e E:\games\l3
  36.  
  37. echo To play, enter the directory E:\GAMES\L3
  38. echo then type L3 and press ENTER
  39. E:
  40. goto end
  41.  
  42. :inst4
  43. md F:\games
  44. md F:\games\l3
  45. xcopy *.* /e F:\games\l3
  46.  
  47. echo To play, enter the directory F:\GAMES\L3
  48. echo then type L3 and press ENTER
  49. F:
  50. goto end
  51.  
  52. :inst5
  53. md G:\games
  54. md G:\games\l3
  55. xcopy *.* /e G:\games\l3
  56.  
  57. echo To play, enter the directory G:\GAMES\L3
  58. echo then type L3 and press ENTER
  59. G:
  60. goto end
  61.  
  62. :end
  63.