home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 16 / 16.iso / t / t138 / 1.img / INSTALL.BAT < prev    next >
Encoding:
DOS Batch File  |  1986-07-21  |  2.4 KB  |  93 lines

  1. echo OFF
  2.  
  3. rem    This Batch File (INSTALL.BAT) is used with SpeedStor II ver 1.0
  4. rem    Copyright(C) 1986 Hexis Design.  All rights reserved.
  5. rem    Last Update: July 21,1986
  6. rem
  7.  
  8. :START
  9. A:
  10. IF NOT EXIST HardPrep.exe    GOTO Musthav
  11. IF NOT EXIST PartEd.exe        GOTO Musthav
  12. IF NOT EXIST InitPrep.mac    GOTO Musthav
  13. IF NOT EXIST InitPart.mac    GOTO Musthav
  14. GOTO DoPrep
  15.  
  16. :Musthav
  17. echo,.
  18. echo,.
  19. echo,.    In order to use this INSTALL program, you must have the
  20. echo,.    original SpeedStor diskette in drive A:
  21. echo,.
  22. echo,.    Please correct this and press any key when ready to continue
  23. echo,.    or you can press Ctrl-C to abort this batch file.
  24. echo,.
  25. PAUSE
  26. GOTO Start
  27.  
  28. :DoPrep
  29. HardPrep InitPrep.mac %1 %2 %3
  30. IF NOT ERRORLEVEL 1 GOTO DoParted
  31. echo,.
  32. echo,.
  33. echo,.        HardPrep PROCESS ABORTED !
  34. echo,.        Please correct, then re-run this installation procedure
  35. echo,.
  36. GOTO end
  37.  
  38. :DoParted
  39. PartEd InitPart.mac %1 %2 %3
  40. IF NOT ERRORLEVEL 1 GOTO LastMsg
  41. echo,.
  42. echo,.
  43. echo,.    PartEd PROCESS ABORTED !
  44. echo,.    If you wish, you can re-run PartEd using it's macro by typing:
  45. echo,.
  46. echo,.        PARTED INITPART.MAC [drive2] [dosext]
  47. echo,.
  48. echo,.    where DRIVE2 and DOSEXT are optional parameters. (do not
  49. echo,.    type the brackets). See user manual for definitions of
  50. echo,.    these options.
  51. echo,.
  52. GOTO end
  53.  
  54. :LastMsg
  55. CLS
  56. echo,.
  57. echo,.
  58. IF *%1 == *DRIVE2 GOTO Drv2msg
  59. IF *%1 == *drive2 GOTO Drv2msg
  60. IF *%1 == *Drive2 GOTO Drv2msg
  61. IF *%2 == *DRIVE2 GOTO Drv2msg
  62. IF *%2 == *drive2 GOTO Drv2msg
  63. IF *%2 == *Drive2 GOTO Drv2msg
  64. IF *%3 == *DRIVE2 GOTO Drv2msg
  65. IF *%3 == *drive2 GOTO Drv2msg
  66. IF *%3 == *Drive2 GOTO Drv2msg
  67. :Drv1msg
  68. echo,.    Drive ONE is now initialized.  If you need to install
  69. echo,.    a second drive, use this installation procedure with
  70. echo,.    the DRIVE2 option (see user manual for specifics).
  71. echo,.
  72. GOTO BootMsg
  73. :Drv2msg
  74. echo,.    Drive TWO is now initialized.
  75. echo,.
  76. :BootMsg
  77. echo,.
  78. echo,.    If you are ready to copy DOS onto your Bootable partition
  79. echo,.    follow the next few steps:
  80. echo,.
  81. echo,.    1)  Place DOS disk into drive A:
  82. echo,.    2)  Re-boot the system by pressing the  Ctrl-Alt-Del  keys
  83. echo,.      When viewing the "A>" prompt, Type:
  84. echo,.    3)    SYS C:
  85. echo,.    4)      COPY COMMAND.COM C:
  86. echo,.    5) Place SpeedStor diskette into Drive A: and type:
  87. echo,.        ADDEVICE
  88. echo,.
  89. echo,.    You now have a system that can be booted from the hard disk!!!!!
  90. echo,.
  91.  
  92. :end
  93.