home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / busi / pct902.zip / INSTALL.BAT next >
DOS Batch File  |  1990-12-31  |  8KB  |  153 lines

  1. echo off
  2. rem
  3. rem PC-*.*SHAREWARE Install program for PC-TAX**
  4. rem
  5. rem Version 2 dtd 12-31-90
  6. cls
  7. if x%1==x goto param
  8. if x%2==x goto param
  9. if %2==b: goto floppy
  10. if %2==B: goto floppy
  11. goto high
  12. rem *** display install help if drive parameters are omitted ***
  13. :param
  14. echo  ╒══════════════════════╕     ╒═════════════════════════════════════════╕
  15. echo  │ Install Procedure... │     │  Syntax:  INSTALL  fromdrive  todrive   │
  16. echo  ╞══════════════════════╧═════╧═════════════════════════════════════════╡
  17. echo  │ In general, the install must be done from one drive to another.      │
  18. echo  │ The distribution disk must be placed in the "fromdrive". The install │
  19. echo  │ batch file program will then un-ARC various files to the "todrive".  │
  20. echo  ╞══════════════════════════════════════════════════════════════════════╡
  21. echo  │ For a 360k DUAL-FLOPPY system, you will need to prepare TWO blank    │
  22. echo  │ formatted diskettes, without DOS on them. Label one of the disks,    │
  23. echo  │ PC-TAX90 and the other disk PCTAXDOC.   When ready, place the        │
  24. echo  │ distribution diskette in drive A: and type...   INSTALL  A:  B:      │
  25. echo  ╞══════════════════════════════════════════════════════════════════════╡
  26. echo  │ FOR A HARD-DISK system, you will need at least 400K available for    │
  27. echo  │ the subdirectory \PCTAX that will be created. Alternatively, a       │
  28. echo  │ large RAM drive, or a 1.2M, 720K or 1.44M floppy drive may be used   │
  29. echo  │ as the "todrive". Prepare enough space on your chosen "todrive" .    │
  30. echo  │ When ready, place the distribution disk in your chosen "fromdrive"   │
  31. echo  │ and type... INSTALL  A:  C:  (install A: to internal hard drive C:)  │
  32. echo  │  or type... INSTALL  B:  A:  (install B: to high density floppy A:)  │
  33. echo  │  or type... INSTALL  A:  D:  (install A: to 2nd hard or RAM drive D:)│
  34. echo  ╞══════════════════════════════════════════════════════════════════════╡
  35. echo  │  NOTE: The INSTALL batch file will supply additional instructions.   │
  36. echo  ╘══════════════════════════════════════════════════════════════════════╛
  37. pause
  38. cls
  39. goto stop
  40. rem *** routine for high density (non-360K) install ***
  41. :high
  42. cls
  43. echo ╒══════════════════════════════════════════╕
  44. echo │ You have chosen to install the files     │
  45. echo │ from drive "%1" to drive "%2".           │
  46. echo ├──────────────────────────────────────────┤
  47. echo │ Remember: Drive %2 must have 400K free.  │
  48. echo ├──────────────────────────────────────────┤
  49. echo │ If you are not sure that this is what    │
  50. echo │ you wanted, press the "Ctrl-Break" keys. │
  51. echo ├──────────────────────────────────────────┤
  52. echo │ Otherwise ...                            │
  53. echo ╘══════════════════════════════════════════╛
  54. echo  
  55. pause
  56. %2
  57. cls
  58. echo ╒═══════════════════════════════════════╕
  59. echo │   Creating \PCTAX dir on "%2"         │
  60. echo ╘═══════════════════════════════════════╛
  61. cd \
  62. md PCTAX
  63. cd \PCTAX
  64. echo ╒═══════════════════════════════════════╕
  65. echo │ Copying all PC-TAX90 files to %2....  │
  66. echo ╘═══════════════════════════════════════╛
  67. copy %1*.* %2
  68. dir %2 /w
  69. pause
  70. cls
  71. echo        ╒═══════════════════════════════════════════════════════╕
  72. echo        │    Congratulations...installation is complete !       │
  73. echo        ╘═══════════════════════════════════════════════════════╛
  74. echo   ┌────────────────────────────────────────────────────────────────┐
  75. echo   │ If you installed to a hard or high density disk ............   │
  76. echo   │ Print the manual by typing the following command from the      │
  77. echo   │ \PCTAX subdirectory:                                           │
  78. echo   │                                                                │
  79. echo   │                     PC-TAX90 PRNTDOC                           │
  80. echo   │                                                                │
  81. echo   │ Insure that your printer is on line and has at least 40 pages  │
  82. echo   │ of paper available.                                            │
  83. echo   └────────────────────────────────────────────────────────────────┘
  84. goto done
  85. rem *** routine for low density floppy install ***
  86. :floppy
  87. cls
  88. echo ╒═════════╤═════════════════════════════════════════════════════════╕
  89. echo │ FLOPPY  │ It is assumed you have chosen to install the files from │
  90. echo │ INSTALL │ drive A: onto low density 360K floppies on drive B:     │
  91. echo ╞═════════╧═════════════════════════════════════════════════════════╡
  92. echo │ You must already have prepared TWO BLANK FORMATTED FLOPPIES. They │
  93. echo │ They should be labeled PC-TAX90 and PCTAXDOC.  If you do not have │
  94. echo │ them ready, press both "Ctrl-Break" keys to stop the install.     │
  95. echo ╞═══════════════════════════════════════════════════════════════════╡
  96. echo │ Otherwise, insert the disk labeled PC-TAX in drive B:             │
  97. echo │ Then ...                                                          │
  98. echo ╘═══════════════════════════════════════════════════════════════════╛
  99. echo  
  100. pause
  101. cls
  102. echo ╒════════════════════════════════════════╕
  103. echo │ Copying program files ................ │
  104. echo ╘════════════════════════════════════════╛
  105. echo
  106. copy %1*.EXE %2
  107. copy %1*.M90 %2
  108. dir %2 /w
  109. pause
  110. cls
  111. echo ╒═════════════════════════════════════════════════════════╕
  112. echo │ Please remove the PC-TAX90 disk from the target drive   │
  113. echo │ and insert the second disk labeled PCTAXDOC in its      │
  114. echo │ place.  Then ...                                        │
  115. echo ╘═════════════════════════════════════════════════════════╛
  116. pause
  117. echo ╒════════════════════════════════════════╕
  118. echo │ Copying the PC-TAX manual and other    │
  119. echo │ supplemental files ................... │
  120. echo ╘════════════════════════════════════════╛
  121. copy %1READ-ME.1ST %2
  122. copy %1*.DOC %2
  123. copy %1*.BAT %2
  124. dir %2 /w
  125. pause
  126. cls
  127. echo        ╒═══════════════════════════════════════════════════════╕
  128. echo        │    Congratulations...installation is complete !       │
  129. echo        ╘═══════════════════════════════════════════════════════╛
  130. echo   ┌────────────────────────────────────────────────────────────────┐
  131. echo   │ Remove the original distribution disk from drive A and replace │
  132. echo   │ it with the new PC-TAX90 disk.  Leave the PCTAXDOC disk in     │
  133. echo   │ drive B.  To print the manual type the following command:      │
  134. echo   │                                                                │
  135. echo   │                     PC-TAX90 PRNTDOC                           │
  136. echo   │                                                                │
  137. echo   │ Insure that your printer is on line and has at least 40 pages  │
  138. echo   │ of paper available.                                            │
  139. echo   └────────────────────────────────────────────────────────────────┘
  140. :done
  141. echo   ╔════════════════════════════════════════════════════════════════════╗
  142. echo   ║ After printing the manual you may run the program by the entering  ║
  143. echo   ║ the following command:                                             ║
  144. echo   ║                                                                    ║
  145. echo   ║                       PC-TAX90                                     ║
  146. echo   ║                                                                    ║
  147. echo   ║ WARNING - If display goes blank when running program use the       ║
  148. echo   ║ following command (see READ-ME.1ST file):                          ║
  149. echo   ║                                                                    ║
  150. echo   ║                 PC-TAX90 SCREEN=MONO                               ║
  151. echo   ╚════════════════════════════════════════════════════════════════════╝
  152. :stop
  153.