home *** CD-ROM | disk | FTP | other *** search
/ Current Shareware 1994 January / SHAR194.ISO / games / econol13.zip / CINSTALL.BAT < prev    next >
DOS Batch File  |  1993-03-20  |  4KB  |  100 lines

  1. echo off
  2. REM To install ECONOLAND-2001 from a disk loaded onto DRIVE A 
  3. REM you should type      A:
  4. REM followed by ENTER (or RETURN on some computers);  
  5. rem then type              CINSTALL
  6. rem followed by ENTER
  7. rem This will install the program in directory area C:\ECONO
  8. rem For an alternative directory area, add it as a parameter; 
  9. rem e.g.,          CINSTALL C:\MYCHOICE
  10. rem will install the program in directory area C:\MYCHOICE
  11. rem
  12. if %1!==! goto DEFAULTD
  13. echo .
  14. echo ╔═══════════════════════════════════════════════╗
  15. echo ║ ECONOLAND-2001 Installation batch file        ║
  16. echo ╠═══════════════════════════════════════════════╣
  17. echo ║ This batch file will install ECONOLAND-2001   ║
  18. echo ║ on your hard disk in directory area %1        
  19. echo ╚═══════════════════════════════════════════════╝
  20. echo .
  21. echo If you do NOT want to do this, abort with Ctrl-C
  22. echo otherwise,
  23. pause
  24. echo .
  25. echo Continuing installation
  26. echo .
  27. ECON2001 /w %1
  28. if not exist %1\ECONOL.OVR goto PROBLEM3
  29. If Exist MONITOR.CFF Copy MONITOR.CFF %1
  30. if not exist %1\teamdat MD %1\teamdat
  31. copy %1\*.CLT %1\teamdat
  32. copy %1\*.CLS %1\teamdat
  33. copy %1\*.HST %1\teamdat
  34. copy %1\*.CFF %1\teamdat
  35. echo.
  36. echo ╔═════════════════════════════════════════════════════════════════╗
  37. echo ║    ECONOLAND-2001 Successfully Installed!                       ║
  38. echo ║                                                                 ║
  39. echo ║    You will improve your Economic Policy Quotient if you        ║
  40. echo ║        study the ECONOLAND-2001 Documentation in file           ║
  41. echo ║        %1\MANUAL.PRN                                            
  42. echo ║    To start the program, make sure you are in                   ║ 
  43. echo ║               directory area %1
  44. echo ║                                                                 ║
  45. echo ║    Then type ECONOL                                             ║
  46. echo ╚═════════════════════════════════════════════════════════════════╝
  47. pause
  48. GOTO EXIT
  49. :DEFAULTD
  50. echo .
  51. echo ╔═══════════════════════════════════════════════╗
  52. echo ║ ECONOLAND-2001 Installation batch file        ║
  53. echo ╠═══════════════════════════════════════════════╣
  54. echo ║ This batch file will install ECONOLAND-2001   ║
  55. echo ║ on your hard disk in directory area C:\ECONO  ║     
  56. echo ╚═══════════════════════════════════════════════╝
  57. echo .
  58. echo If you do NOT want to do this, abort with Ctrl-C
  59. echo otherwise,
  60. pause
  61. ECON2001 /w C:\econo
  62. echo .
  63. if not exist C:\econo\ECONOL.OVR goto PROBLEM3
  64. If Exist MONITOR.CFF copy monitor.cff C:\econo
  65. if not exist C:\econo\teamdat MD C:\econo\teamdat
  66. copy C:\econo\*.cff C:\econo\teamdat
  67. copy C:\econo\*.CLT C:\econo\teamdat
  68. copy C:\econo\*.CLS C:\econo\teamdat
  69. copy C:\econo\*.HST C:\econo\teamdat
  70. pause
  71. C:
  72. chdir \ECONO
  73. echo .
  74. echo ╔═════════════════════════════════════════════════════════════════╗
  75. echo ║    ECONOLAND-2001 Successfully Installed!                       ║
  76. echo ║                                                                 ║
  77. echo ║    You will improve your Economic Policy Quotient if you        ║
  78. echo ║        study the ECONOLAND-2001 Documentation in                ║
  79. echo ║        file MANUAL.PRN                                          ║
  80. echo ║    To start the program, type   C:\ECONO\CECONO                 ║
  81. echo ║    Then touch the ENTER key                                     ║
  82. echo ║                                                                 ║
  83. echo ╚═════════════════════════════════════════════════════════════════╝
  84. echo .
  85. pause
  86. type DRIVEC.DOC
  87. Goto Exit
  88. :PROBLEM3
  89. echo    Couldn't find expanded files!  Cannot proceed.
  90. goto PROBLEM
  91. :Problem2
  92. echo    Couldn't find required file on distribution disk --- cannot proceed
  93. goto PROBLEM
  94. :PROBLEM
  95. echo ╔══════════════════════════════════════════════╗
  96. echo ║    ECONOLAND-2001 Installation ABORTED!      ║
  97. echo ╚══════════════════════════════════════════════╝
  98. :EXIT
  99.  
  100.