home *** CD-ROM | disk | FTP | other *** search
/ Jason Aller Floppy Collection / 170.img / MARAMOM1.ZIP / INSTALL.BAT < prev    next >
DOS Batch File  |  1990-04-12  |  2KB  |  90 lines

  1. echo off
  2. cls
  3. if "%1" == "MORE" goto FromHard
  4. echo Installation of "The Keys to Maramon"
  5. echo -------------------------------------
  6. echo 
  7. echo To protect your original diskettes, you should play "The Keys to Maramon"
  8. echo from a hard disk or from working copies of your diskettes.
  9. echo 
  10. echo Do you want to -
  11. echo 
  12. echo    A.  Install "The Keys to Maramon" on your hard disk?
  13. echo    B.  Play "The Keys to Maramon" from working copies?
  14. echo   Esc  Quit for now and do it later?
  15. echo 
  16. getyn "Select an option" /B
  17. if errorlevel 2 goto DoDiskcopy
  18. if errorlevel 1 goto A0
  19. cls
  20. goto X
  21. :A0
  22. cls
  23. echo Hard Disk Installation of "The Keys to Maramon"
  24. echo -----------------------------------------------
  25. echo 
  26. if not "%3" == "" goto A1
  27. echo This procedure will create a \KEYS directory
  28. goto A2
  29. :A1
  30. echo This procedure will create a %3 directory
  31. :A2
  32. echo on your hard disk and copy "The Magic Candle"
  33. echo into it (and its subdirectories) for ease of play.
  34. echo 
  35. if "%2" == "" goto NoParms
  36. if not "%3" == "" goto HasDir
  37. echo You may specify a directory other than \KEYS
  38. echo if you wish.  For instance, to install in the
  39. echo directory \MCRAFT, type
  40. echo     INSTALL %1 %2 \MCRAFT
  41. echo 
  42. :HasDir
  43. getyn "Are you ready to proceed"
  44. if errorlevel 1 goto X
  45. cls
  46. %2:
  47. if "%3" == "" goto KeysDir
  48. mkdir %3
  49. chdir %3
  50. goto CopyInst
  51. :KeysDir
  52. mkdir \KEYS
  53. chdir \KEYS
  54. :CopyInst
  55. copy %1:INSTALL.BAT
  56. install MORE %1 %2
  57. :NoParms
  58. echo To run INSTALL, specify the "from" and "to" drives.
  59. echo For example, to install from diskette drive A: to
  60. echo hard disk C:, type
  61. echo     INSTALL A C
  62. echo 
  63. goto X
  64. :FromHard
  65. rem - the batch file has been copied to the hard disk,
  66. rem - and now we're getting serious.
  67. echo Now copying program, data and graphics files . . .
  68. copy %2:*.*
  69. echo 
  70. echo Insert Disk 2 in Drive %2:
  71. pause
  72. echo Now copying program, data and graphics files . . .
  73. copy %2:*.*
  74. echo 
  75. echo All done.
  76. :X0
  77. echo 
  78. echo To play "The Keys to Maramon," type
  79. echo     KM
  80. echo 
  81. goto X
  82. :DoDiskcopy
  83. echo 
  84. echo 
  85. echo Use DISKCOPY or any other diskette copying utility to
  86. echo make your working copies.
  87. goto X0
  88. :X
  89. echo 
  90.