home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / BF / BF030.ZIP / 2.BAT < prev    next >
DOS Batch File  |  1990-07-05  |  11KB  |  221 lines

  1. ECHO off
  2. cls
  3. echo -
  4. echo -   ███████████████████████████████████████████████████████████████
  5. echo -   █                  Very Important Message                     █░░
  6. echo -   █                                                             █░░
  7. echo -   █     LOAN MASTER uses as many as ten different files.        █░░
  8. echo -   █                                                             █░░
  9. echo -   █     DOS does not allow this many files to be used unless    █░░
  10. echo -   █     it is instructed to do so when the machine is booted.   █░░
  11. echo -   █                                                             █░░
  12. echo -   █     On the boot disk, there is a file called CONFIG.SYS.    █░░
  13. echo -   █     This file must contain a line that reads:               █░░
  14. echo -   █     "Files=20" (Without the quotes.)                        █░░
  15. echo -   █                                                             █░░
  16. echo -   █     If your system has this file and if it contains a files █░░
  17. echo -   █     statement with the number = 20 or larger, you are OK.   █░░
  18. echo -   █                                                             █░░
  19. echo -   █     If your system does not have that file, there is a      █░░
  20. echo -   █     CONFIG.SYS file on this disk you can copy to your       █░░
  21. echo -   █     Boot disk.  You must use the DOS copy command.          █░░
  22. echo -   █                                                             █░░
  23. echo -    ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
  24. echo -
  25. echo -
  26. pause
  27. cls
  28. echo -
  29. echo -   ███████████████████████████████████████████████████████████████░
  30. echo -   █                  Very Important Message                     █░░
  31. echo -   █                                                             █░░
  32. echo -   █     If you forget, or omit this step, LOAN MASTER will      █░░
  33. echo -   █     CRASH with an error message that states:                █░░
  34. echo -   █                                                             █░░
  35. echo -   █      ".........Database required....."                      █░░
  36. echo -   █                                                             █░░
  37. echo -   █     This will not damage either your computer or the        █░░
  38. echo -   █     program.                                                █░░
  39. echo -   █                                                             █░░
  40. echo -   █                                                             █░░
  41. echo -   █                                                             █░░
  42. echo -   █                                                             █░░
  43. echo -   █                                                             █░░
  44. echo -   █                                                             █░░
  45. echo -    ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
  46. echo -
  47. echo -
  48. pause
  49. cls
  50. echo -     ┌─────────────────────────────────────────────────────────────────────┐
  51. echo -     │                                                                     │
  52. echo -     │                                                                     │
  53. echo -     │    The LOAN PROCESSING SYSTEM requires several files to maintain    │
  54. echo -     │    all its data. To work on a floppy disk system, two disks are     │
  55. echo -     │    required.  A program disk and a data disk.                       │
  56. echo -     │                                                                     │
  57. echo -     │    Before you continue, be sure you have two blank, formatted       │
  58. echo -     │    disks. If you do not, press Ctrl+C NOW to abort installation.    │
  59. echo -     │                                                                     │
  60. echo -     │    Label the disks Program Disk drive A: and Program Disk drive B:  │
  61. echo -     │                                                                     │
  62. echo -     │    The installation program will copy the necessary files to these  │
  63. echo -     │    disks.  Follow the instructions on your screen...                │
  64. echo -     │                                                                     │
  65. echo -     │    If you have changed your mind, press the Control-Break key NOW!  │
  66. echo -     │    and answer "Y" to the terminate question.                        │
  67. echo -     │                                                                     │
  68. echo -     └─────────────────────────────────────────────────────────────────────┘
  69. echo -
  70. echo -
  71. pause
  72. cls
  73. echo -
  74. echo -
  75. echo -     ┌─────────────────────────────────────────────────────────────────────┐
  76. echo -     │                                                                     │
  77. echo -     │    Place the disk labeled Data Disk drive B: in your B: drive       │
  78. echo -     │                                                                     │
  79. echo -     └─────────────────────────────────────────────────────────────────────┘
  80. echo -
  81. echo -
  82. pause
  83. cls
  84. echo -
  85. echo -
  86. echo -     ┌─────────────────────────────────────────────────────────────────────┐
  87. echo -     │                                                                     │
  88. echo -     │    Copying the data files and the help screens ...                  │
  89. echo -     │                                                                     │
  90. echo -     └─────────────────────────────────────────────────────────────────────┘
  91. echo -
  92. echo -
  93. pkunzip lmmenusw.zip b: *.db?
  94. cls
  95. echo -
  96. echo -
  97. echo -     ┌─────────────────────────────────────────────────────────────────────┐
  98. echo -     │                                                                     │
  99. echo -     │    Copying the user options parameter file ...                      │
  100. echo -     │                                                                     │
  101. echo -     └─────────────────────────────────────────────────────────────────────┘
  102. echo -
  103. echo -
  104. pkunzip lmmenusw.zip b: lmparm.fd
  105. del b:lmparm.dbf
  106. ren b:lmparm.fd lmparm.dbf
  107. cls
  108. echo -
  109. echo -
  110. echo -     ┌─────────────────────────────────────────────────────────────────────┐
  111. echo -     │                                                                     │
  112. echo -     │    Copying the Loan Master On Line Manual ...                       │
  113. echo -     │                                                                     │
  114. echo -     └─────────────────────────────────────────────────────────────────────┘
  115. echo -
  116. echo -
  117. pkunzip lmmenusw.zip b: lmmenu.hlp lmmenu.qhx
  118. cls
  119. echo -
  120. echo -
  121. echo -
  122. echo -
  123. echo -     ┌─────────────────────────────────────────────────────────────────────┐
  124. echo -     │                                                                     │
  125. echo -     │    Checking to see if they were all copied ...                      │
  126. echo -     │                                                                     │
  127. echo -     └─────────────────────────────────────────────────────────────────────┘
  128. if not exist b:lmloan.dbf goto fail
  129. if not exist b:lmtran.dbf goto fail
  130. if not exist b:lmhelp.dbf goto fail
  131. if not exist b:lmhelp.dbt goto fail
  132. if not exist b:lmparm.dbf goto fail
  133. if not exist b:lmmenu.hlp goto fail
  134. if not exist b:lmmenu.qhx goto fail
  135. pause
  136. cls
  137. echo -
  138. echo -
  139. echo -
  140. echo -     ┌─────────────────────────────────────────────────────────────────────┐
  141. echo -     │                                                                     │
  142. echo -     │    Place the disk labeled Program Disk drive A: in your B: drive    │
  143. echo -     │                                                                     │
  144. echo -     └─────────────────────────────────────────────────────────────────────┘
  145. echo -
  146. echo -
  147. pause
  148. echo -
  149. echo -
  150. echo -     ┌─────────────────────────────────────────────────────────────────────┐
  151. echo -     │                                                                     │
  152. echo -     │    Copying the Loan Master program file ...                         │
  153. echo -     │                                                                     │
  154. echo -     └─────────────────────────────────────────────────────────────────────┘
  155. echo -
  156. echo -
  157. pkunzip lmmenusw.zip b: lmmenu.exe
  158. cls
  159. echo -
  160. echo -
  161. echo -     ┌─────────────────────────────────────────────────────────────────────┐
  162. echo -     │                                                                     │
  163. echo -     │    Copying the user options parameter file ...                      │
  164. echo -     │                                                                     │
  165. echo -     └─────────────────────────────────────────────────────────────────────┘
  166. echo -
  167. echo -
  168. pkunzip lmmenusw.zip b: lmparm.fd
  169. ren b:lmparm.fd lmparm.dbf
  170. echo -
  171. echo -
  172. echo -
  173. echo -
  174. echo -
  175. echo -     ┌─────────────────────────────────────────────────────────────────────┐
  176. echo -     │                                                                     │
  177. echo -     │    Checking to see if they were all copied ...                      │
  178. echo -     │                                                                     │
  179. echo -     └─────────────────────────────────────────────────────────────────────┘
  180. echo -
  181. echo -
  182. echo -
  183. if not exist b:lmmenu.exe goto fail
  184. if not exist b:lmparm.dbf goto fail
  185. cls
  186. echo -
  187. echo -
  188. echo -
  189. echo -   ┌──────────────────────────────────────────────────────────────────┐
  190. echo -   │                                                                  │
  191. echo -   │     The LOAN PROCESSING SYSTEM is now installed ...              │
  192. echo -   │                                                                  │
  193. echo -   │     1) Place the program disk in drive A:                        │
  194. echo -   │     2) Place the data disk in drive B:                           │
  195. echo -   │     3) Log on to drive A:  - Type A:(enter) -                    │
  196. echo -   │     4) Type the command:                                         │
  197. echo -   │                                                                  │
  198. echo -   │             LMMENU (ENTER)                                       │
  199. echo -   │                                                                  │
  200. echo -   └──────────────────────────────────────────────────────────────────┘
  201. echo -
  202. echo -
  203. goto end
  204. :FAIL
  205. cls
  206. echo -
  207. echo -
  208. echo -
  209. echo -   ┌────────────────────────────────────────────────────────────────────────┐
  210. echo -   │                                                                        │
  211. echo -   │     The installation process failed!                                   │
  212. echo -   │                                                                        │
  213. echo -   │     The Most likely cause of failure is that the destination disk      │
  214. echo -   │     is full.  Check the disk space on the destination disk. It should  │
  215. echo -   │     have at least one megabyte of free space.                          │
  216. echo -   │                                                                        │
  217. echo -   │                                                                        │
  218. echo -   └────────────────────────────────────────────────────────────────────────┘
  219. echo -
  220. :END
  221.