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