home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / BF / BF030.ZIP / 1.BAT next >
DOS Batch File  |  1990-07-07  |  9KB  |  172 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                      │
  54. echo -     │    files to function completely.                                    │
  55. echo -     │                                                                     │
  56. echo -     │    If you want these files in a subdirectory, you must first        │
  57. echo -     │    create the subdirectory,  and then log on to that subdirectory.  │
  58. echo -     │    This program will install the files into the current             │
  59. echo -     │    subdirectory of your hard disk C:                                │
  60. echo -     │                                                                     │
  61. echo -     │    If you are ready,  I will copy the necessary files to your       │
  62. echo -     │    hard disk now.                                                   │
  63. echo -     │                                                                     │
  64. echo -     │    If you have changed your mind, press the Control-Break key NOW!  │
  65. echo -     │    and answer "Y" to the terminate question.                        │
  66. echo -     │                                                                     │
  67. echo -     └─────────────────────────────────────────────────────────────────────┘
  68. echo -
  69. echo -
  70. pause
  71. cls
  72. echo -
  73. echo -
  74. echo -     ┌─────────────────────────────────────────────────────────────────────┐
  75. echo -     │                                                                     │
  76. echo -     │    Copying the data files and the help screens ...                  │
  77. echo -     │                                                                     │
  78. echo -     └─────────────────────────────────────────────────────────────────────┘
  79. echo -
  80. echo -
  81. pkunzip lmMENUSW.zip C: *.db?
  82. cls
  83. echo -
  84. echo -
  85. echo -     ┌─────────────────────────────────────────────────────────────────────┐
  86. echo -     │                                                                     │
  87. echo -     │    Copying the user options parameter file ...                      │
  88. echo -     │                                                                     │
  89. echo -     └─────────────────────────────────────────────────────────────────────┘
  90. echo -
  91. echo -
  92. pkunzip lmMENUSW.zip C: lmparm.hd
  93. del C:lmparm.dbf
  94. ren c:lmparm.hd lmparm.dbf
  95. cls
  96. echo -
  97. echo -
  98. echo -     ┌─────────────────────────────────────────────────────────────────────┐
  99. echo -     │                                                                     │
  100. echo -     │    Copying the Loan Master On Line Manual ...                       │
  101. echo -     │                                                                     │
  102. echo -     └─────────────────────────────────────────────────────────────────────┘
  103. echo -
  104. echo -
  105. pkunzip lmMENUSW.zip C: lmmenu.hlp lmmenu.qhx
  106. cls
  107. echo -
  108. echo -
  109. echo -
  110. echo -
  111. echo -     ┌─────────────────────────────────────────────────────────────────────┐
  112. echo -     │                                                                     │
  113. echo -     │    Copying the Loan Master program file ...                         │
  114. echo -     │                                                                     │
  115. echo -     └─────────────────────────────────────────────────────────────────────┘
  116. echo -
  117. echo -
  118. pkunzip lmMENUSW.zip C: lmmenu.exe
  119. cls
  120. echo -
  121. echo -
  122. echo -
  123. echo -
  124. echo -
  125. echo -     ┌─────────────────────────────────────────────────────────────────────┐
  126. echo -     │                                                                     │
  127. echo -     │    Checking to see if they were all copied ...                      │
  128. echo -     │                                                                     │
  129. echo -     └─────────────────────────────────────────────────────────────────────┘
  130. if not exist C:lmmenu.exe goto fail
  131. if not exist C:lmmenu.hlp goto fail
  132. if not exist C:lmloan.dbf goto fail
  133. if not exist C:lmtran.dbf goto fail
  134. if not exist C:lmhelp.dbf goto fail
  135. if not exist C:lmhelp.dbf goto fail
  136. if not exist C:lmhelp.dbt goto fail
  137. if not exist C:lmparm.dbf goto fail
  138. cls
  139. echo -
  140. echo -
  141. echo -
  142. echo -   ┌──────────────────────────────────────────────────────────────────┐
  143. echo -   │                                                                  │
  144. echo -   │     The LOAN PROCESSING SYSTEM is now installed ...              │
  145. echo -   │                                                                  │
  146. echo -   │     To run the program, log on to the C: drive and type:         │
  147. echo -   │                                                                  │
  148. echo -   │     LMMENU(enter)                                                │
  149. echo -   │                                                                  │
  150. echo -   │                                                                  │
  151. echo -   └──────────────────────────────────────────────────────────────────┘
  152. echo -
  153. echo -
  154. goto end
  155. :FAIL
  156. cls
  157. echo -
  158. echo -
  159. echo -
  160. echo -   ┌────────────────────────────────────────────────────────────────────────┐
  161. echo -   │                                                                        │
  162. echo -   │     The installation process failed!                                   │
  163. echo -   │                                                                        │
  164. echo -   │     The Most likely cause of failure is that the destination disk      │
  165. echo -   │     is full.  Check the disk space on the destination disk. It should  │
  166. echo -   │     have at least one megabyte of free space.                          │
  167. echo -   │                                                                        │
  168. echo -   │                                                                        │
  169. echo -   └────────────────────────────────────────────────────────────────────────┘
  170. echo -
  171. :END
  172.