home *** CD-ROM | disk | FTP | other *** search
/ Collection of Hack-Phreak Scene Programs / cleanhpvac.zip / cleanhpvac / SOURC455.ZIP / README.BAT < prev    next >
DOS Batch File  |  1992-07-07  |  4KB  |  190 lines

  1. echo off
  2. rem  SOURCER and BIOS Pre-Processor
  3. rem    Information Viewer and optional installation 
  4. :start
  5. if not exist infosrb.exe goto done2
  6. infosrb -b
  7. if errorlevel 254 goto done
  8. if errorlevel 32 goto demo
  9. echo ──────── Transfering Files ────────
  10. if errorlevel 26 goto disk26
  11. if errorlevel 25 goto disk25
  12. if errorlevel 24 goto disk24
  13. if errorlevel 22 goto disk22
  14. if errorlevel 21 goto disk21
  15. if errorlevel 20 goto disk20
  16. if errorlevel 18 goto disk18
  17. if errorlevel 17 goto disk17
  18. if errorlevel 16 goto disk16
  19. if errorlevel 14 goto disk14
  20. if errorlevel 13 goto disk13
  21. if errorlevel 12 goto disk12
  22. if errorlevel 9 goto disk9
  23. if errorlevel 8 goto disk8
  24. if errorlevel 6 goto disk6
  25. if errorlevel 4 goto disk4
  26. if errorlevel 2 goto disk2
  27. if errorlevel 1 goto disk1
  28. goto done
  29.  
  30. :disk26
  31. g:
  32. if exist \sourcer\sr.exe goto skipgc
  33. md \sourcer
  34. :skipgc
  35. copy c:*.* \sourcer
  36. cd \sourcer
  37. goto unzipit
  38. :disk25
  39. g:
  40. if exist \sourcer\sr.exe goto skipgb
  41. md \sourcer
  42. :skipgb
  43. copy b:*.* \sourcer
  44. cd \sourcer
  45. goto unzipit
  46. :disk24
  47. g:
  48. if exist \sourcer\sr.exe goto skipga
  49. md \sourcer
  50. :skipga
  51. copy a:*.* \sourcer
  52. cd \sourcer
  53. goto unzipit
  54. :disk22
  55. f:
  56. if exist \sourcer\sr.exe goto skipfc
  57. md \sourcer
  58. :skipfc
  59. copy c:*.* \sourcer
  60. cd \sourcer
  61. goto unzipit
  62. :disk21
  63. f:
  64. if exist \sourcer\sr.exe goto skipfb
  65. md \sourcer
  66. :skipfb
  67. copy b:*.* \sourcer
  68. cd \sourcer
  69. goto unzipit
  70. :disk20
  71. f:
  72. if exist \sourcer\sr.exe goto skipfa
  73. md \sourcer
  74. :skipfa
  75. copy a:*.* \sourcer
  76. cd \sourcer
  77. goto unzipit
  78. :disk18
  79. e:
  80. if exist \sourcer\sr.exe goto skipec
  81. md \sourcer
  82. :skipec
  83. copy c:*.* \sourcer
  84. cd \sourcer
  85. goto unzipit
  86. :disk17
  87. e:
  88. if exist \sourcer\sr.exe goto skipeb
  89. md \sourcer
  90. :skipeb
  91. copy b:*.* \sourcer
  92. cd \sourcer
  93. goto unzipit
  94. :disk16
  95. e:
  96. if exist \sourcer\sr.exe goto skipea
  97. md \sourcer
  98. :skipea
  99. copy a:*.* \sourcer
  100. cd \sourcer
  101. goto unzipit
  102. :disk14
  103. d:
  104. if exist \sourcer\sr.exe goto skipdc
  105. md \sourcer
  106. :skipdc
  107. copy c:*.* \sourcer
  108. cd \sourcer
  109. goto unzipit
  110. :disk13
  111. d:
  112. if exist \sourcer\sr.exe goto skipdb
  113. md \sourcer
  114. :skipdb
  115. copy b:*.* \sourcer
  116. cd \sourcer
  117. goto unzipit
  118. :disk12
  119. d:
  120. if exist \sourcer\sr.exe goto skipda
  121. md \sourcer
  122. :skipda
  123. copy a:*.* \sourcer
  124. cd \sourcer
  125. goto unzipit
  126. :disk9
  127. c:
  128. if exist \sourcer\sr.exe goto skipcb
  129. md \sourcer
  130. :skipcb
  131. copy b:*.* \sourcer
  132. cd \sourcer
  133. goto unzipit
  134. :disk8
  135. c:
  136. if exist \sourcer\sr.exe goto skipca
  137. md \sourcer
  138. :skipca
  139. copy a:*.* \sourcer
  140. cd \sourcer
  141. goto unzipit
  142. :disk6
  143. b:
  144. copy c:*.* b:
  145. goto unzipit
  146. :disk4
  147. b:
  148. copy a:*.* b:
  149. goto unzipit
  150. :disk2
  151. a:
  152. copy c:*.* a:
  153. goto unzipit
  154. :disk1
  155. a:
  156. copy b:*.* a:
  157. :unzipit
  158. echo ──────── Uncompressing files ────────
  159. pkunzip srfiles.zip
  160. goto start
  161. :demo
  162. echo ──────── Loading Sourcer ────────
  163. if not exist sr.exe goto nofile
  164. sr testyn.exe
  165. if not exist testyn.lst goto donedemo
  166. echo  
  167. echo   The demo is now complete.  Note the output file created contains the listing
  168. echo   created by Sourcer.  After exiting the information menu, this may be printed
  169. echo   or examined with your editor.
  170. goto donedemo
  171. :nofile
  172. echo  
  173. echo   Cannot locate Sourcer (SR.EXE).  
  174. :donedemo
  175. echo  
  176. pause
  177. echo ──────── Returning to Info Menu ────────
  178. goto start
  179. :done2
  180. echo   
  181. echo   INFOSRB.EXE was not found on the default drive.  Insert the master 
  182. echo   diskette  in the floppy drive  and set the default diskette to the
  183. echo   same drive.  For example, if the diskette is in drive A, then:
  184. echo  
  185. echo            at the DOS prompt enter     A:
  186. echo            then enter                  README
  187. echo  
  188. :done
  189. echo  
  190.