home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / virus / dirtyd9c.arc / VIEWDD.BAT < prev    next >
Encoding:
DOS Batch File  |  1989-12-17  |  5.6 KB  |  217 lines

  1. echo off
  2. echo                                                 >nul
  3. echo Program -- VIEWDD.BAT                           >nul
  4. echo Version -- 1.01                                 >nul
  5. echo Purpose -- Display Dirty Dozen to Screen        >nul
  6. echo Author  -- Eric Newhouse                        >nul
  7. echo Date    -- November 6, 1989                     >nul
  8. echo (C)     -- Copyright, 1989, 1990                >nul
  9. echo                                                 >nul
  10. echo    I hereby place this BATch file into the      >nul
  11. echo public domain.                                  >nul
  12. echo                                                 >nul
  13. cls
  14.  
  15. if not exist ECHOB.COM goto NoEchoB
  16. if not exist GET.EXE goto NoGet
  17. if not exist LIST.COM goto NoList
  18. goto Begin
  19.  
  20. :NoEchob
  21. echo 
  22. echo   ECHOB.COM must be in the Path.  Aborting.
  23. echo 
  24. Goto Absolute_End
  25.  
  26. :NoGet
  27. echob
  28. echo   GET.EXE must be in the Path.  Aborting.
  29. echob
  30. Goto Absolute_End
  31.  
  32. :NoList
  33. echob
  34. echo   LIST.COM must be in the Path.  Aborting.
  35. echob
  36. Goto Absolute_End
  37.  
  38. :Begin
  39. echob
  40. echo        This Batch File uses LIST.COM to display each part
  41. echo   of the Dirty Dozen List.  Here is a brief description
  42. echo   of commands in LIST:
  43. echob
  44. echo   ?         - Help!
  45. echo   PgDn      - View Next      Page
  46. echo   PgUp      - View Previous  Page
  47. echo   [ESC]     - Exit to DOS, continue batch file
  48. echob
  49. echo         At each prompt you have four options:
  50. echob
  51. echo         Y  -  Yes
  52. echo         N  -  No
  53. echo     [ESC]  -  Quit to DOS, Abort Batch
  54. echo   [ENTER]  -  Yes (Default)
  55. echob
  56. echob
  57. get n "  Do you want to read the whole Dirty Dozen List [Y,n]? "
  58. if %get%==N goto Introduction
  59. if %get%==~ goto Absolute_End
  60.  
  61. :ReadAll   
  62. echob
  63. echo   UNUSED LABEL >nul
  64. echo        You have opted to read every part of the Dirty Dozen.
  65. echo   This is wise, because you can still quit or skip files
  66. echo   using LIST.COM.  Here are some extra LIST commands that
  67. echo   will come in handy:
  68. echob
  69. echo   Ctrl-PgDn - Go to Next     File of Dirty Dozen
  70. echo   Ctrl-PgUp - Go to Previous File of Dirty Dozen
  71. echo   [ESC]     - End session with the   Dirty Dozen
  72. echo   /         - Search for Text (ie. a filename)
  73. echob
  74. get ce "Hit a key to list everything . . . "
  75. cls
  76. list Int*.dd Def*.dd Wh*.dd Pre*.dd VR*.dd TR*.dd Pro*.dd Vi*.dd Tro*.dd Pir*.dd Hac*.dd Ack*.dd Glo*.dd His*.dd Mai*.dd Up*.dd
  77. goto Absolute_End
  78.  
  79. :Introduction
  80. echob
  81. get n "  Do you want to read the Introduction                    (1/16)   [Y,n]? "
  82. if %get%==N goto Definitions
  83. if %get%==~ goto Absolute_End
  84. List Intro.dd
  85. echob
  86.  
  87. :Definitions
  88. echob
  89. get n "  Do you want to read important Definitions (ie. Virus)   (2/16)   [Y,n]? "
  90. if %get%==N goto WhatsNew
  91. if %get%==~ goto Absolute_End
  92. List Define.dd
  93. echob
  94.  
  95. :WhatsNew
  96. echob
  97. get n "  Do you want to read What's New since last version       (3/16)   [Y,n]? "
  98. if %get%==N goto Prevent_Virus_Trojan
  99. if %get%==~ goto Absolute_End
  100. List WhatsNew.dd
  101. echob
  102.  
  103. :Prevent_Virus_Trojan
  104. echob
  105. get n "  Do you want to read how to prevent Viruses and Trojans  (4/16)   [Y,n]? "
  106. if %get%==N goto Virus_Recovery
  107. if %get%==~ goto Absolute_End
  108. List Prevent.dd
  109. echob
  110.  
  111. :Virus_Recovery
  112. echob
  113. get n "  Do you want to read Virus Recovery Steps                (5/16)   [Y,n]? "
  114. if %get%==N goto Trojan_Recovery
  115. if %get%==~ goto Absolute_End
  116. List VRecover.dd
  117. echob
  118.  
  119. :Trojan_Recovery
  120. echob
  121. get n "  Do you want to read Trojan Horse Recovery Steps         (6/16)   [Y,n]? "
  122. if %get%==N goto Protection_Programs
  123. if %get%==~ goto Absolute_End
  124. List TRecover.dd
  125. echob
  126.  
  127. :Protection_Programs
  128. echob
  129. get n "  Do you want to view Protection Program Information      (7/16)   [Y,n]? "
  130. if %get%==N goto Virus_List
  131. if %get%==~ goto Absolute_End
  132. List Protect.dd
  133. echob
  134.  
  135. :Virus_List
  136. echob
  137. get n "  Do you want to view the Virus List                      (8/16)   [Y,n]? "
  138. if %get%==N goto Trojan_List
  139. if %get%==~ goto Absolute_End
  140. List Virus.dd
  141. echob
  142.  
  143. :Trojan_List
  144. echob
  145. get n "  Do you want to view the Trojan Horse List               (9/16)   [Y,n]? "
  146. if %get%==N goto Commercial_List
  147. if %get%==~ goto Absolute_End
  148. List Trojan.dd
  149. echob
  150.  
  151. :Commercial_List
  152. echob
  153. get n "  Do you want to view the Commercial Software List        (10/16)  [Y,n]? "
  154. if %get%==N goto Hacked_Misc_List
  155. if %get%==~ goto Absolute_End
  156. List Pirate.dd
  157. echob
  158.  
  159. :Hacked_Misc_List
  160. echob
  161. get n "  Do you want to view Miscellaneous/Hacked Software       (11/16)  [Y,n]? "
  162. if %get%==N goto Acknowledgements
  163. if %get%==~ goto Absolute_End
  164. List HackMisc.dd
  165. echob
  166.  
  167. :Acknowledgements
  168. echob
  169. get n "  Do you want to view Acknowledgements                    (12/16)  [Y,n]? "
  170. if %get%==N goto Glossary
  171. if %get%==~ goto Absolute_End
  172. List Acknowl.dd
  173. echob
  174.  
  175. :Glossary
  176. echob
  177. get n "  Do you want to view the Glossary                        (13/16)  [Y,n]? "
  178. if %get%==N goto Update_History
  179. if %get%==~ goto Absolute_End
  180. List Glossary.dd
  181. echob
  182.                  
  183. :Update_History
  184. echob
  185. get n "  Do you want to view the Update History                  (14/16)  [Y,n]? "
  186. if %get%==N goto Mailing_List
  187. if %get%==~ goto Absolute_End
  188. List History.dd
  189. echob
  190.  
  191. :Mailing_List
  192. echob
  193. get n "  Do you want to read how to join the Mailing List        (15/16)  [Y,n]? "
  194. if %get%==N goto Updates
  195. if %get%==~ goto Absolute_End
  196. List Mail-Lst.dd
  197. echob
  198.  
  199. :Updates
  200. echob
  201. get n "  Do you want to read how to send in Dirty Dozen Updates  (16/16)  [Y,n]? "
  202. if %get%==N goto End 
  203. if %get%==~ goto Absolute_End
  204. List Update.dd
  205.  
  206. :End
  207. cls
  208. echob
  209. echo   You just finished!
  210.  
  211. :Absolute_End
  212. echo 
  213. echo 
  214. echo   Thank You for viewing the Dirty Dozen!
  215. echo 
  216. echo 
  217.