home *** CD-ROM | disk | FTP | other *** search
/ World of Shareware - Software Farm 2 / wosw_2.zip / wosw_2 / DATABASE / STATM_TX.ZIP / INSTALL.BAT < prev    next >
DOS Batch File  |  1991-09-01  |  4KB  |  104 lines

  1. echo off
  2. cls
  3. if not %2x==x goto START
  4. goto BEGIN
  5. :BEGIN
  6. echo.
  7. echo.
  8. echo.
  9. echo      ╔═╡ Installing StatMaster ╞═══════════════════════════════════════╗
  10. echo      ║                                                                 ║
  11. echo      ║ To install StatMaster to drive C, in a subdirectory called SM,  ║
  12. echo      ║ type "INSTALL C SM" at the prompt, then press ENTER (─┘).      ║
  13. echo      ║                                                                 ║
  14. echo      ║ To install StatMaster to drive D, in a subdirectory called TX   ║
  15. echo      ║ (for Texas), type "INSTALL D TX", then press ENTER (─┘).       ║
  16. echo      ║                                                                 ║
  17. echo      ║ To install StatMaster to another drive and/or subdirectory, use ║
  18. echo      ║ the syntax: "INSTALL drivename subdirectory".                   ║
  19. echo      ║                                                                 ║
  20. echo      ║ Please type your command line at the prompt now . . .           ║
  21. echo      ║                                                                 ║
  22. echo      ╚═════════════════════════════════════════════════════════════════╝
  23. fill 3,5,67,14,1,e
  24. fill 3,8,23,1,1,f
  25. echo.
  26. echo.
  27. goto FINISH
  28. :START
  29. echo.
  30. echo.
  31. echo.
  32. echo                StatMaster will be installed to: %1:\%2
  33. fill 3,48,12,1,0,F
  34. echo.
  35. echo.
  36. echo      ╔═╡ Select an Option ╞═══════════════════════════════════╗
  37. echo      ║                                                        ║
  38. echo      ║  A. Install the software to the path specified above.  ║
  39. echo      ║                                                        ║
  40. echo      ║  B. Oops!  Let me change the path specified above.     ║
  41. echo      ║                                                        ║
  42. echo      ╚════════════════════════════════════════════════════════╝
  43. fill 6,5,58,7,1,e
  44. fill 6,8,18,1,1,f
  45. echo.
  46. echo                    Please select A or B now.
  47. echo.
  48. keypress AB
  49. if errorlevel 2 goto OOPS
  50. if errorlevel 1 goto DOIT
  51. echo      Sorry, that was an invalid selection, please try again.
  52. wait 2
  53. cls
  54. goto START
  55. echo
  56. :OOPS
  57. fill 10,7,54,1,0,f
  58. wait 3
  59. cls
  60. goto BEGIN
  61. :DOIT
  62. fill 8,7,54,1,0,f
  63. wait 2
  64. cls
  65. echo.
  66. echo.
  67. echo      INSTALL will now create the specified subdirectory, then copy
  68. echo      and uncompress the information it needs to your hard drive . . .
  69. echo.
  70. echo.
  71. stat-tx1 %1:\%2 /w /p
  72. echo.
  73. newpause      Replace Disk 1 of 2 with Disk 2 of 2, then press any key to continue...
  74. echo.
  75. echo      INSTALL will now copy and uncompress the rest of
  76. echo      the information it needs to your hard drive . . .
  77. echo.
  78. echo.
  79. stat-tx2 %1:\%2 /w
  80. echo.
  81. echo      The installation is now complete . . .
  82. wait 2
  83. cls
  84. echo.
  85. echo.
  86. echo    ╔════════════════════════════════════════════════════════════════╗
  87. echo    ║                                                                ║
  88. echo    ║ For information regarding StatMaster, type "INFO", then press  ║
  89. echo    ║ the Enter key now (─┘).                                       ║
  90. echo.   ║                                                                ║
  91. echo    ║ To start the program, make sure you are logged onto the sub-   ║
  92. echo    ║ directory you created, type the two-letter state code for the  ║
  93. echo    ║ state you installed (TX), then press the Enter key (─┘).      ║
  94. echo    ║                                                                ║
  95. echo    ║ If you have any difficulty with this installation or with any  ║
  96. echo    ║ other aspect of StatMaster, please call us at (602)491-0022.   ║
  97. echo    ║                                                                ║
  98. echo    ╚════════════════════════════════════════════════════════════════╝
  99. fill 2,3,66,10,1,e
  100. %1:
  101. cd \%2
  102. echo.
  103. :FINISH
  104.