home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / r / roots3.zip / ROOTS3-2.ZIP / R3INSTAL.BAT < prev    next >
DOS Batch File  |  1988-07-26  |  4KB  |  145 lines

  1. echo off
  2. cls
  3.  
  4. rem    ROOTS III installation batch file.
  5. rem    Ver 1.07   by Aaron Lyon   8807.26
  6.  
  7. if "%1" == "" goto usage
  8. if not "%2" == "" goto usage
  9. c:
  10. cd \
  11. echo *
  12. echo *   Make sure the ROOTS III PROGRAM diskette is in drive A.
  13. echo *
  14. echo *   A description of this batch file's function can be viewed
  15. echo * by first stopping execution, then at the DOS prompt, typing
  16. echo *
  17. echo A:R3INSTAL
  18. echo *
  19. echo *   If you want to stop execution of this batch file now,
  20. echo * type CTRL+C and answer "Y" to the "Terminate...Y/N?" query.
  21. pause
  22. if exist ROOTS3\*.* goto skip1
  23. md ROOTS3
  24. echo *
  25. echo *   \ROOTS3 directory created.
  26.  
  27. :skip1
  28. cd ROOTS3
  29. echo *   Copying PROGRAM disk into \ROOTS3 ...
  30. copy a:ROOTS3.*/v
  31. copy a:*.OVL/v
  32. copy a:INSTALL.*/v
  33. echo *
  34. echo *   PROGRAM diskette copied to the \ROOTS3 directory.
  35. if exist %1\*.* goto skip2
  36. md %1
  37. echo *
  38. echo *   Basefile subdirectory created off \ROOTS3
  39. echo *       C:\ROOTS3\%1
  40.  
  41. :skip2
  42. cd \
  43. echo *
  44. echo *   ROOTS III installation is complete.
  45. echo *
  46. echo *   This installation uses the IBM.COD Console Driver for IBM PC
  47. echo * and compatible computers. If you intend to use a mouse or .PIC
  48. echo * files, or you are using a non IBM compatible computer, put the
  49. echo * AUXILIARY disk in drive A: and type the following command at the
  50. echo * "C:\>" prompt (please see the installation manual for details
  51. echo * on .COD files):
  52. echo *
  53. echo COPY A:name.COD \ROOTS3\ROOTS.COD
  54. echo *
  55. echo *   This installation also uses the IBM.HLP file. If you intend
  56. echo * to use a non IBM compatible computer, make sure the AUXILIARY
  57. echo * disk is in drive A:, and type the following command at the
  58. echo * "C:\>" prompt (see installation manual for details on .HLP
  59. echo * files):
  60. echo *
  61. echo COPY A:name.HLP \ROOTS3\ROOTS.HLP
  62. echo *
  63. pause
  64. echo *
  65. echo *   After this batch file finishes, to start ROOTS III, type
  66. echo *
  67. echo CD \ROOTS3\%1
  68. echo ..\ROOTS3 %1
  69. echo *
  70. echo *   NOTE: If you use DOS version 2.x, to start ROOTS III, type
  71. echo *
  72. echo CD \ROOTS3\%1
  73. echo PATH=\ROOTS3
  74. echo SET ROOTS3=\ROOTS3
  75. echo ROOTS3 %1
  76. echo *
  77. goto end
  78.  
  79. :usage
  80. echo *
  81. echo *   USAGE:
  82. echo *
  83. echo     A:R3INSTAL BasefileName
  84. echo *                                         --- Example: a:r3instal SMITH
  85. echo *
  86. echo *   Where BasefileName is the name of the subdirectory where your first
  87. echo * basefile will be located. (Must have eight or fewer characters.)
  88. echo *
  89. echo *   This batch file will install ROOTS III on your hard drive C:
  90. echo * in a directory named ROOTS3 which will be created off your root
  91. echo * directory. Further, a subdirectory will be created off ROOTS3 in
  92. echo * which you will keep your first basefile.
  93. echo *
  94. echo *   To start ROOTS III after running R3INSTAL.BAT, you will simply type:
  95. echo *
  96. echo CD \ROOTS3\BaseFileName
  97. echo ..\ROOTS3 BaseFileName
  98. echo *
  99. pause
  100. echo *   NOTE: If you use DOS version 2.x, to start ROOTS III, type
  101. echo *
  102. echo CD \ROOTS3\BaseFileName
  103. echo SET PATH=\ROOTS3
  104. echo SET ROOTS3=\ROOTS3
  105. echo ROOTS3 BaseFileName
  106. echo *
  107. goto end2
  108.  
  109. :end
  110.  
  111. rem KENNEDY basefile installation
  112.  
  113. echo * The next section of this batch file will describe how to install
  114. echo * the KENNEDY basefile on your hard disk in the directory
  115. echo * C:\ROOTS3\KENNEDY.
  116. echo *
  117. echo * (The KENNEDY basefile can also be run from a floppy diskette.
  118. echo * See "Getting Started" in the ROOTS III manual for details.)
  119. echo *
  120. echo * If you do NOT want to install the KENNEDY basefile on your hard
  121. echo * disk, hold down the CTRL key and press BREAK.
  122. echo *
  123. pause
  124. cd\ROOTS3
  125. md KENNEDY
  126. cd KENNEDY
  127. echo *
  128. echo * Put the ROOTS III DATA diskette in drive A and type
  129. echo *
  130. echo COPY A:*.*
  131. echo *
  132. echo * After the files are copied, you can start the KENNEDY basefile
  133. echo * by typing
  134. echo *
  135. echo ..\ROOTS3 KENNEDY
  136. echo *
  137. echo * NOTE: If you are using DOS 2.x, you must type
  138. echo *
  139. echo SET PATH=\ROOTS3
  140. echo SET ROOTS3=\ROOTS3
  141. echo ROOTS3 KENNEDY
  142. echo *
  143.  
  144. :end2
  145.