home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / finance / ctrl-41b.zip / GO2.BAT < prev    next >
DOS Batch File  |  1991-08-13  |  3KB  |  146 lines

  1. echo off
  2. IF NOT EXIST ECOH.COM A:
  3. cls
  4. echo  
  5. ECOH  Welcome the installation procedure for IN-CONTROL [TM]!
  6. ECHO                      [disk 2 of 2]
  7. echo  
  8. echo  
  9. ECHO Well, we're one half through.  The rest is even easier than   
  10. ECHO the first part.
  11. echo  
  12. ECHO Would you like to the install this program on a Hard Drive?
  13. echo  
  14. ECHO [If just starting this process, 'GO' begins it on disk one]
  15. echo  
  16. echo  
  17. :YESNO
  18. YESNO
  19. CLS
  20. IF ERRORLEVEL 89 IF NOT ERRORLEVEL 90 GOTO YESNEXT
  21. IF ERRORLEVEL 78 IF NOT ERRORLEVEL 79 GOTO YES1
  22. GOTO YESNO
  23. :YESNEXT
  24. CLS
  25. ECHO For you to install this program on a hard drive, this disk must be on Drive A.
  26. ECHO Is this floppy on drive A now?
  27. echo  
  28. YESNO
  29. CLS
  30. IF ERRORLEVEL 89 IF NOT ERRORLEVEL 90 GOTO YES 
  31. IF ERRORLEVEL 78 IF NOT ERRORLEVEL 79 GOTO NO1
  32. GOTO YESNEXT
  33. :YES1
  34. CLS
  35. ECHO Would you like to install this program on a floppy-based system?
  36. echo  
  37. YESNO
  38. CLS
  39. IF ERRORLEVEL 89 IF NOT ERRORLEVEL 90 GOTO YES2
  40. IF ERRORLEVEL 78 IF NOT ERRORLEVEL 79 GOTO END
  41. GOTO YES1
  42. :YES
  43. A:
  44. CLS
  45. echo  
  46. ECOH ══════════ Select the Hard drive you want to install the program on: ══════════
  47. echo  
  48. echo  
  49. echo           C = Drive C           D = Drive D
  50. echo           E = Drive E           F = Drive F
  51. echo           G = Drive G
  52. :INPUT
  53. echo  
  54. echo  
  55.              INPUT            (Pick a letter.)
  56. IF ERRORLEVEL 72 GOTO INPUT
  57. IF ERRORLEVEL 71 GOTO G
  58. IF ERRORLEVEL 70 GOTO F     
  59. IF ERRORLEVEL 69 GOTO E     
  60. IF ERRORLEVEL 68 GOTO D     
  61. IF ERRORLEVEL 67 GOTO C     
  62. IF ERRORLEVEL 67 GOTO C
  63. REM IF ERRORLEVEL 66 GOTO B
  64. REM IF ERRORLEVEL 65 GOTO A
  65. GOTO INPUT
  66. :C
  67. CLS
  68. echo  
  69. INSTALL4 H C
  70. :D
  71. CLS
  72. echo  
  73. INSTALL4 H D
  74. :E
  75. CLS
  76. echo  
  77. INSTALL4 H E
  78. :F
  79. CLS
  80. echo  
  81. INSTALL4 H F
  82. :G
  83. CLS
  84. echo  
  85. INSTALL4 H G
  86. :NO
  87. CLS
  88. echo  
  89. ECHO To install this for a floppy based system, this disk must be on Drive B.
  90. GOTO END
  91. :NO1
  92. CLS
  93. echo  
  94. ECOH To install this program, move this disk to drive A and re-execute 'GO4' there.
  95. echo  
  96. echo If you have no choice but to install this program from drive B, 
  97. echo then execute this command now in DOS:
  98. echo  
  99. echo  
  100. echo                 ASSIGN A=B     {=====  you enter this, follwed by Enter 
  101. echo  
  102. echo  
  103. echo Upon your completion of the ASSIGN command, please enter this command:
  104. echo  
  105. echo  
  106. echo                 A:             {=====  you enter this, follwed by Enter 
  107. echo  
  108. echo  
  109. echo After you have entered 'A:', you will observe the light come on for drive B.
  110. echo  
  111. echo  
  112. echo Then continue on drive B as though you were on drive A.
  113. echo  
  114. GOTO END
  115. :YES2
  116. CLS
  117. echo  
  118. ECHO Beginning with version 4.0 of this program, it will not operate 
  119. ECHO on a floppy-based system.  
  120. echo  
  121. GOTO END
  122. echo  
  123. ECHO This disk must be on drive B to manufacture those three disks. 
  124. ECHO Each disk must be 720 kb or greater.
  125. ECHO Are you in drive B now?
  126. echo  
  127. YESNO
  128. CLS
  129. IF ERRORLEVEL 89 IF NOT ERRORLEVEL 90 GOTO YES3
  130. IF ERRORLEVEL 78 IF NOT ERRORLEVEL 79 GOTO NO3
  131. GOTO YES2
  132. :YES3
  133. CLS
  134. INSTALL4 F 2
  135. :NO3
  136. CLS
  137. echo  
  138. echo To install this program, move this disk to drive B and re-execute 'GO2' there.
  139. GOTO END
  140. :NO2
  141. CLS
  142. echo  
  143. :END
  144. echo  
  145.  
  146.