home *** CD-ROM | disk | FTP | other *** search
/ Jason Aller Floppy Collection / 97.img / COMBAT.ZIP / INSTALL.BAT < prev    next >
DOS Batch File  |  1989-03-08  |  918b  |  42 lines

  1. echo off
  2. cls
  3. if %1x == x goto ERROR
  4. if %1 == c: goto START
  5. if %1 == C: goto START
  6. if %1 == d: goto START
  7. if %1 == D: goto START
  8. if %1 == e: goto START
  9. if %1 == E: goto START
  10. if %1 == f: goto START
  11. if %1 == F: goto START
  12. if %1 == g: goto START
  13. if %1 == G: goto START
  14. goto ERROR
  15. :START
  16. echo This installation procedure will
  17. echo create a directory named %1\MIND
  18. echo and copy the COMBAT COURSE disk
  19. echo into the %1\MIND directory.
  20. echo .
  21. echo Press Ctrl-C to stop the install
  22. echo or press any other key to continue.
  23. pause
  24. mkdir %1\MIND
  25. copy a:*.* %1\MIND
  26. goto :END
  27. :ERROR
  28. echo The letter of your hard drive
  29. echo must be entered after the word
  30. echo INSTALL.  For example: INSTALL C:
  31. echo Please try again.
  32. goto LASTLINE
  33. :END
  34. %1
  35. cd \mind
  36. echo .
  37. echo Hard disk installation complete.
  38. echo You may start the program by
  39. echo typing COMBAT and pressing the
  40. echo Enter key.
  41. :LASTLINE
  42.