home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / dbase / fwkcs120.zip / QIKSTART.BAT < prev    next >
DOS Batch File  |  1993-05-28  |  6KB  |  176 lines

  1. @echo off
  2. cls
  3. if not .%2 == . goto az
  4. echo -
  5. echo -            Your use of this software is at solely your own risk.
  6. echo -            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  7. echo -
  8. echo - This software is intended for use under DOS 3.30 or later, or in a suitable
  9. echo - DOS session under a multitasking system (including IBM OS/2 2.0 or later).
  10. echo -
  11. echo -       If you encounter any system conflicts when using this software,
  12. echo -       please check your system configuration (and DOS session settings).
  13. echo -
  14. echo -       If the problem remains, please advise the author at
  15. echo -
  16. echo -
  17. echo -                             Fred Kantor
  18. echo -                             523 West 112 Street
  19. echo -                             New York, NY 10025
  20. echo -
  21. echo -
  22. echo - Note: The Client/Host configuration, Split Testing, and the automatic
  23. echo -       text interpretation functions, are reserved for registered FWKCS(TM).
  24. echo -       (see REGISTER.FRM)
  25. echo -
  26. pause
  27. cls
  28. :az
  29. echo - Part of FWKCS(TM) Contents_Signature System, Version 1.20.
  30. echo - (C)Copyright Frederick W. Kantor 1989-1993. All rights reserved.
  31. echo -      Your use of the FWKCS(TM) Contents_Signature System is at solely your
  32. echo -         own risk. For safety, please have proper backups of your files.
  33. echo - QIKSTART.BAT to set up the FWKCS(TM) Contents_Signature System, Ver. 1.20;
  34. echo -   for use in same directory with FWKCS120.ZIP, FWKCS.120, and FWKCS_TM.120.
  35. echo -   QIKSTART does not search your file collection (see README.TXT).
  36. echo -   Disk space: allow 3 Meg. setup, ca 1.4 Meg. static files, starting empty.
  37. echo -   For full installation with search of your file collection, use INSTALL.BAT.
  38. echo - Note: Before you start the installation, please have available on your PATH:
  39. echo -              Phil Katz's PKUNZIP(R), Version 2.04g or later.
  40. echo - (More information provided as FWKCS.120 package is opened; see README.TXT.)
  41. echo -              If you are replacing FWKCS Ver. 1.12 or later, use REPLACE.BAT.
  42. echo -              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  43. echo -  Usage:   QIKSTART d D "<enter>"
  44. echo -           QIKSTART d D c "<enter>"
  45. echo -
  46. echo -  where  d  without ":" is the drive for the \CS directory
  47. echo -         D  without ":" is the drive for the \CSA directory
  48. echo -         c  capture contents_signatures re FWKCS120.ZIP (recommended).
  49. if .%1 == ./* goto end
  50. if .%1 == . goto nd
  51. if .%2 == . goto nod2
  52. if .%3 == .C goto aa
  53. if .%3 == .c goto aa
  54. if not .%3 == . goto bi
  55. :aa
  56. echo -
  57. echo -  Are these drives correct:  %1:\CS  and  %2:\CSA ?  If not, stop now!
  58. echo -  To quit, press Ctrl+C, then y                            ~~~~~~~~
  59. echo -
  60. pause
  61. if not exist fwkcs120.zip goto nv120
  62. attrib -r fwkcs120.zip > nul
  63. if exist 0_setup.bat del 0_setup.bat > nul
  64. if exist 0_setup.bat attrib -r 0_setup.bat > nul
  65. if exist 0_setup.bat del 0_setup.bat > nul
  66. pkunzip 0_setup.bat > nul
  67. if errorlevel 1 goto zex
  68. goto nz
  69. :zex
  70. if exist replm120.120 del replm120.120 > nul
  71. if exist replm120.120 attrib -r replm120.120 > nul
  72. if exist replm120.120 del replm120.120 > nul
  73. if exist 2_setup.bat del 2_setup.bat > nul
  74. if exist 2_setup.bat attrib -r 2_setup.bat > nul
  75. if exist 2_setup.bat del 2_setup.bat > nul
  76. if exist s_setup.bat del s_setup.bat > nul
  77. if exist s_setup.bat attrib -r s_setup.bat > nul
  78. if exist s_setup.bat del s_setup.bat > nul
  79. if exist myowncsl.srt del myowncsl.srt > nul
  80. if exist myowncsl.srt attrib -r myowncsl.srt > nul
  81. if exist myowncsl.srt del myowncsl.srt > nul
  82. if exist #@!#@!$$.@!@ del #@!#@!$$.@!@ > nul
  83. if exist #@!#@!$$.@!@ attrib -r #@!#@!$$.@!@ > nul
  84. if exist #@!#@!$$.@!@ del #@!#@!$$.@!@ > nul
  85. if exist @@!#@!$$.@!@ del @@!#@!$$.@!@ > nul
  86. if exist @@!#@!$$.@!@ attrib -r @@!#@!$$.@!@ > nul
  87. if exist @@!#@!$$.@!@ del @@!#@!$$.@!@ > nul
  88. if exist @@!#@$!$.@!@ del @@!#@$!$.@!@ > nul
  89. if exist @@!#@$!$.@!@ attrib -r @@!#@$!$.@!@ > nul
  90. if exist @@!#@$!$.@!@ del @@!#@$!$.@!@ > nul
  91. cls
  92. if not exist fwkcstmp.120 goto n1
  93. if exist fwkhi.com del fwkhi.com > nul
  94. if exist fwkhi.com attrib -r fwkhi.com > nul
  95. if exist fwkhi.com del fwkhi.com > nul
  96. pkunzip -o fwkcstmp.120 fwkhi.com > nul
  97. if exist fwkhi.com goto n2
  98. :n1
  99. if not exist fwkcs.120 goto nd
  100. if not exist fwkcs_tm.120 goto cm
  101. ren fwkcs_tm.120 fwkcs_tm.com > nul
  102. fwkcs_tm < fwkcs.120 >fwkcstmp.120
  103. if errorlevel 1 goto fbad
  104. ren fwkcs_tm.com fwkcs_tm.120 > nul
  105. pkunzip -o fwkcstmp.120 fwkhi.com > nul
  106. if not exist fwkhi.com goto fbad
  107. :n2
  108. cls
  109. if .%3 == .c goto n3
  110. if not .%3 == .C goto nocs
  111. :n3
  112. if exist fwkcs120.zip ren fwkcs120.zip @@!#@!$$.@!@ > nul
  113. ren fwkcstmp.120 fwkcs120.zip > nul
  114. pkunzip -o fwkcs120.zip fwkcs.exe > nul
  115. fwkcs /1 fwkcs120.zip #@!#@!$$.@!@
  116. ren fwkcs120.zip fwkcstmp.120 > nul
  117. if exist @@!#@!$$.@!@ ren @@!#@!$$.@!@ fwkcs120.zip > nul
  118. if not exist fwkcs.exe pkunzip fwkcs120.zip fwkcs.exe > nul
  119. if exist fwkcs120.zip fwkcs /1 fwkcs120.zip >> #@!#@!$$.@!@
  120. fwkcs #@!#@!$$.@!@ /a7.8v",!" @@!#@$!$.@!@
  121. del #@!#@!$$.@!@ > nul
  122. fwkcs @@!#@$!$.@!@ /s
  123. fwkcs @@!#@$!$.@!@ nul myowncsl.srt /ms
  124. del @@!#@$!$.@!@ > nul
  125. del fwkcs.exe > nul
  126. :nocs
  127. pkunzip fwkcstmp.120 s_setup.bat > nul
  128. del fwkhi.com > nul
  129. s_setup %1 ! %2 1 0
  130. :nv120
  131. echo -
  132. echo -  QIKSTART.BAT is for use in the same directory with all these
  133. echo -  files together:  FWKCS120.ZIP, FWKCS.120, and FWKCS_TM.120.
  134. goto clu
  135. :bi
  136. echo -
  137. echo -  The third entry, if not blank, must be "c" or "C" (without quotes),
  138. echo -      to capture contents_signatures re files in FWKCS120.ZIP.
  139. goto helpr
  140. :nz
  141. echo -
  142. echo -  Where is Phil Katz's PKUNZIP(R)?
  143. echo -
  144. echo -  Please check your path and mapping...
  145. echo -
  146. echo -  After you correct this problem,
  147. goto helpr
  148. :fbad
  149. del fwkcstmp.120 > nul
  150. ren fwkcs_tm.com fwkcs_tm.120 > nul
  151. echo -
  152. echo -  Bad file. Execution aborted.
  153. :clu
  154. echo -
  155. echo -  Please clean up, and try again. See README.TXT.
  156. goto end
  157. :cm
  158. echo -
  159. echo -  I need FWKCS_TM.120.
  160. echo -
  161. echo -        I quit!
  162. goto end
  163. :nod2
  164. echo -
  165. echo -   I need two drive entries (they can both have the same letter).
  166. :helpr
  167. echo -
  168. echo -   Please try again...
  169. goto end
  170. :nd
  171. echo -
  172. echo -    Please see "Usage", above...
  173. :end
  174. if exist fwkhi.com del fwkhi.com > nul
  175. echo -
  176.