home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / BF / BF014.ZIP / SETUP.BAT < prev    next >
DOS Batch File  |  1989-02-01  |  6KB  |  174 lines

  1. echo off
  2. cls
  3. if "%1" == "" goto error
  4. echo             PDS*QUOTE Quotation system SETUP.BATch file
  5. echo .
  6. echo .
  7. echo   ** First a WARNING - WARNING - WARNING, while I have your attention! **
  8. echo .
  9. echo Your DOS "boot-up" disks MUST have the following CONFIG.SYS file commands:
  10. echo .
  11. echo      FILES = 20              Page 2-1 of the manual will tell you how to
  12. echo      BUFFERS = 15            add these 2 commands to the CONFIG.SYS file.
  13. echo .
  14. echo Failure to include these will cause program crash with "File open error"
  15. echo message when you later try to build a Quotation.
  16. echo .
  17. echo This is discussed in more detail in Section 2 of the manual.
  18. echo .
  19. echo Do a Shift/PrtScn of this screen NOW for future reference!
  20. pause
  21. cls
  22. if "%1" == "B:" goto floppy
  23. if "%1" == "b:" goto floppy
  24. echo Since you are installing this software on a hard disk, this batch job
  25. echo will now attempt to create the %1\PDS sub-directory to contain all of
  26. echo the PDS*QUOTE program and data files.  If you have already created
  27. echo the %1\PDS sub-directory you may see an error message, but you can
  28. echo continue anyway.
  29. echo .
  30. echo If you wish to cancel this batch job at this time,
  31. echo press Ctrl/C (hold down the Ctrl key and press the C key).
  32. echo .
  33. echo If you wish to continue . . . .
  34. echo .
  35. pause
  36. echo .
  37. %1
  38. md\pds
  39. cd\pds
  40. a:
  41. echo .
  42. echo The following files are being copied . . .
  43. copy *.exe %1\pds
  44. copy *.pat %1\pds
  45. copy *.db? %1\pds
  46. if exist qtrack.doc copy qtrack.doc %1\pds
  47. if exist memory.doc copy memory.doc %1\pds
  48. if exist scrlist.com copy scrlist.com %1\pds
  49. %1
  50. quotedoc
  51. pause
  52. cls
  53. echo The instruction manual is in a file named QUOTE.DOC on your %1 drive.
  54. echo You can just turn on your printer type COPY %1\PDS\QUOTE.DOC PRN (Enter),
  55. goto floppy1
  56. :floppy
  57. echo You must have already formatted (3) disks (without DOS) BEFORE
  58. echo you can proceed with this process.  If you haven't done this,
  59. echo please TYPE README.DOC (Enter) at the DOS prompt to find out
  60. echo how to format the (3) disks and how they should be labeled.
  61. echo .
  62. echo If you wish to cancel this batch job at this time,
  63. echo press Ctrl/C (hold down the Ctrl key and press the C key).
  64. echo .
  65. echo If you wish to continue . . .
  66. echo .
  67. pause
  68. echo .
  69. echo The first part of this batch job will copy the working PDS*QUOTE files to
  70. echo the previously formatted "PDS*QUOTE Working Program" disk.  At this time,
  71. echo place the "PDS*QUOTE Working Program Disk" in drive B:. This disk must
  72. echo already have been formatted WITHOUT DOS, but should contain the
  73. echo COMMAND.COM file copied from your DOS boot-up disk.
  74. echo .
  75. pause
  76. echo .
  77. echo The following files are being copied . . .
  78. copy quote.ex? %1
  79. copy *.pat %1
  80. echo .
  81. echo The "PDS*QUOTE Working Program Disk" is now ready.
  82. echo .
  83. echo Now, place the previously formatted "PDS*QUOTE Data Files Disk" in
  84. echo drive B:.
  85. echo .
  86. pause
  87. echo .
  88. echo The following files are being copied . . .
  89. copy *.DB? %1/V
  90. echo .
  91. echo Now, place the previously formatted "PDS*QUOTE Documation Disk" in
  92. echo drive B:.
  93. echo .
  94. pause
  95. echo .
  96. b:
  97. a:quotedoc
  98. pause
  99. a:
  100. cls
  101. echo The (3) disks are now ready for you to use.  You should now insert
  102. echo your "PDS*QUOTE Working Program Disk" in drive A:.  Insert your
  103. echo "PDS*QUOTE Documentation Disk" in drive B: to print the manual.
  104. echo You can just turn on your printer type COPY B:QUOTE.DOC PRN (Enter),
  105. :floppy1
  106. echo or you can use the QUOTE.EXE program to print the manual.
  107. echo .
  108. echo The first time that you run the QUOTE program, you will get an error
  109. echo message informing you that the defaults are not yet set.  You can ignore
  110. echo this message and continue until you see the program "Main" menu so that
  111. echo you can print the manual.  If you highlight "Printer Action Table" and
  112. echo press Enter, you can select your printers name so you can turn on near letter
  113. echo quality to print a better copy of the manual.
  114. echo .
  115. echo Use the cursor keys to highlight the "Tools" Main Menu and the
  116. echo "Print Instructions" Sub-Menu and press Enter.
  117. echo .
  118. echo .
  119. echo Do a Shift/PrtScn of this screen NOW for future reference!
  120. echo .
  121. pause
  122. cls
  123. echo A note to those that have not yet registered.  This is Shareware that is
  124. echo Copyright 1988 by PRO DEV Software and you can only use an un-registered
  125. echo copy for evaluation purposes.  You MUST send the registration fee to
  126. echo PRO DEV Software as described on the registration form at the front of the
  127. echo instruction manual (file QUOTE.DOC) to continue using the system beyond
  128. echo the evaluation stage.
  129. echo .
  130. echo When you register, you will be sent an additional disk of software and
  131. echo documentation that adds many more features.
  132. echo .
  133. echo Please note the month and year on the opening Copyright screen as to
  134. echo when this program was placed into Shareware distribution.  If this copy is
  135. echo more than 12 months old, ask your BBS or distributor why it is so old.
  136. echo I normally send out new versions about every 6 months or less.
  137. echo .
  138. echo If you have an old or faulty copy, please write or call me.  I send almost
  139. echo anyone a FREE evaluation copy (including Disk Copying Services and BBS's)
  140. echo .
  141. echo Enjoy evaluating the PDS*QUOTE Quotation system and PLEASE REGISTER!
  142. echo .
  143. echo                                 Thank you - George Abbott
  144. pause
  145. echo .
  146. if "%1" == "B:" goto floppy2
  147. if "%1" == "b:" goto floppy2
  148. echo Now, to print the instruction manual, type COPY QUOTE.DOC PRN (Enter),
  149. echo or type QUOTE (Enter) to run the QUOTE program to print the manual.
  150. goto exit
  151. :floppy2
  152. echo .
  153. echo Now, to print the instruction manual, type COPY B:QUOTE.DOC PRN (Enter),
  154. echo or type QUOTE (Enter) to run the QUOTE program to print the manual.
  155. goto exit
  156. :error
  157. echo You entered the command SETUP without the target drive parameter.
  158. echo Please re-enter with SETUP followed by a space, the target drive
  159. echo letter AND A COLON (The : Is Very IMPORTANT!). For example, to copy
  160. echo the working files to a disk in drive B, enter . . .
  161. echo .
  162. echo    SETUP B:  (Enter)
  163. echo .
  164. echo If you are installing the PDS*QUOTE system on a hard disk, use the
  165. echo drive letter for your hard disk drive such as . . .
  166. echo .
  167. echo    SETUP C:  (Enter)
  168. echo .
  169. echo For a hard disk, the SETUP.BAT batch file will create the PDS sub-directory
  170. echo to contain the PDS*QUOTE files in the drive that you indicate.
  171. echo .
  172. echo Try again...
  173. :exit
  174.