home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / database / ks21_2.zip / KWIKLOAD.BAT < prev    next >
DOS Batch File  |  1990-12-01  |  4KB  |  87 lines

  1. echo off
  2. verify on
  3. if %1x==x goto explain
  4. if not exist ks21data.exe goto oops2
  5. cls
  6. echo ┌───────────────────────────────────────────────────────────┐
  7. echo │            Installation of KWIKSTAT Version 2.10          │
  8. echo │                      on HARD DISK %1                      │
  9. echo │                5 1/4 Inch Disk Load Program               │
  10. echo │                                                           │
  11. echo │      Please follow the instructions on the screen.        │
  12. echo └───────────────────────────────────────────────────────────┘
  13. echo ┌───────────────────────────────────────────────────────────┐
  14. echo │ This routine loads the KWIKSTAT program onto a hard disk  │
  15. echo │ subdirectory named %1\KWIKSTAT. If this directory already │
  16. echo │ exists, the old version is replaced with the new.         │
  17. echo └───────────────────────────────────────────────────────────┘
  18. md %1\KWIKSTAT
  19. echo ┌───────────────────────────────────────────────────────────┐
  20. echo │ NOTE:If you get the message "unable to create directory"  │
  21. echo │ during installation, it means the KWIKSTAT directory is   │
  22. echo │ already created. The loading process will still be normal.│
  23. echo └───────────────────────────────────────────────────────────┘
  24. echo ┌───────────────────────────────────────────────────────────┐
  25. echo │ If you are not certain you wish to continue, press        │
  26. echo │ CTRL-BREAK. If you are certain you wish to continue, then │
  27. echo └───────────────────────────────────────────────────────────┘
  28. PAUSE
  29. copy *.exe %1\kwikstat
  30. rem copy order %1\kwikstat
  31. copy ks.bat %1\kwikstat
  32. copy ksetup.bat %1\kwikstat
  33. copy ksmenu.ini %1\kwikstat
  34. copy *.hlp %1\kwikstat
  35. copy txhelp.com %1\kwikstat
  36. :disk2
  37. echo ┌───────────────────────────────────────────────────────────┐
  38. echo │ PLACE PROGRAM DISTRIBUTION DISKETTE NUMBER 2 IN DEFAULT   │
  39. echo │ DRIVE, AND PRESS ENTER...                                 │
  40. echo └───────────────────────────────────────────────────────────┘
  41. pause
  42. if not exist KS21CROS.EXE goto oops
  43. copy *.exe %1\kwikstat
  44. copy *.dbf %1\kwikstat
  45. copy *.dat %1\kwikstat
  46. copy *.com %1\kwikstat
  47. copy *.img %1\kwikstat
  48. cls
  49. echo ┌───────────────────────────────────────────────────────┐
  50. echo │      INSTALLATION OF THE KWIKSTAT IS COMPLETE!        │
  51. echo │                                                       │
  52. echo │   If you are using a Hercules type monitor, please    │
  53. echo │   read information in manual about monitors.          │
  54. echo │                                                       │
  55. echo │ Read the file LATENEWS.DOC for latest news and info.  │
  56. echo │                                                       │
  57. echo │ Setp KWIKSTAT for your Computer by entering the       │
  58. echo │ command KSETUP                                        │
  59. echo │                                                       │
  60. echo └───────────────────────────────────────────────────────┘
  61. %1
  62. cd\kwikstat
  63. goto End
  64. :oops2
  65. echo oops!
  66. echo PROGRAM DISK 1 IS NOT IN THE DEFAULT DRIVE...
  67. goto :explain
  68. :oops
  69. echo oops!
  70. echo PROGRAM DISK 2 IS NOT IN THE DEFAULT DRIVE...
  71. goto :disk2
  72. :Explain
  73. echo ┌───────────────────────────────────────────────────────┐
  74. echo │   The format of this command is:                      │
  75. echo │                                                       │
  76. echo │   KWIKLOAD d:                                         │
  77. echo │                                                       │
  78. echo │   where d: is the name of the disk drive on which you │
  79. echo │   want the program installed.  For example, if you    │
  80. echo │   have KWIKSTAT disk 1 in the A: drive and you want   │
  81. echo │   to install the program on the C: drive, the command │
  82. echo │   would look something like this . . .                │
  83. echo │                                                       │
  84. echo │   "A>KWIKLOAD C:"                                     │
  85. echo └───────────────────────────────────────────────────────┘
  86. :End
  87.