home *** CD-ROM | disk | FTP | other *** search
- echo off
- echo >nul
- echo Program -- PRINTDD.BAT >nul
- echo Version -- 1.01 >nul
- echo Purpose -- Print Dirty Dozen to Printer >nul
- echo Author -- Eric Newhouse >nul
- echo Date -- June 9, 1989 >nul
- echo (C) -- Copyright, 1989, 1990 >nul
- echo >nul
- echo I hereby place this BATch file into the >nul
- echo public domain. >nul
- echo >nul
- cls
-
- if not exist ECHOB.COM goto NoEchoB
- if not exist GET.EXE goto NoGet
- if not exist LIST.COM goto NoList
- goto Begin
-
- :NoEchob
- echo
- echo ECHOB.COM must be in the Path. Aborting.
- echo
- Goto Absolute_End
-
- :NoGet
- echob
- echo GET.EXE must be in the Path. Aborting.
- echob
- Goto Absolute_End
-
- :NoList
- echob
- echo LIST.COM must be in the Path. Aborting.
- echob
- Goto Absolute_End
-
- :Begin
- echob
- echo This Batch File prints the Dirty Dozen to your
- echo printer. Set your printer fonts prior to running this.
- echob
- echo Feel free to modify this batch file to include a
- echo print spooler, such as DOS's PRINT.COM, if it suits you.
- echo As it is, PRINTDD uses 'Type }prn' to print. This is
- echo undoubtably the most crude method of printing a document,
- echo but in the interests of compatibility, I have adopted it.
- echob
- echo Hit ^C at any time during printing to abort.
- echob
- echo At each prompt you have four options:
- echob
- echo Y - Yes
- echo N - No
- echo [ESC] - Quit to DOS, Abort Batch
- echo [ENTER] - Yes (Default)
- echob
- echo Please confirm that your printer is ONLINE.
- echob
- echob
- get n " Do you want to print the whole Dirty Dozen List [Y,n]? "
- if %get%==N goto Introduction
- if %get%==~ goto Absolute_End
-
- :PrintAll
- echo UNUSED LABEL >nul
- echob
- get ce "Hit a key to begin printing everything . . . "
- cls
- echob
- echo Printing Introduction (1/16) . . .
- type Intro.dd >prn
- echo Printing Definitions (2/16) . . .
- type Define.dd >prn
- echo Printing What's New (3/16) . . .
- type Whatsnew.dd >prn
- echo Printing Prevention Measures (4/16) . . .
- type Prevent.dd >prn
- echo Printing Virus Recovery Steps (5/16) . . .
- type VRecover.dd >prn
- echo Printing Trojan Recovery Steps (6/16) . . .
- type TRecover.dd >prn
- echo Printing Protection Program Info (7/16) . . .
- type Protect.dd >prn
- echo Printing Virus List (8/16) . . .
- type Virus.dd >prn
- echo Printing Trojan Horse List (9/16) . . .
- type Trojan.dd >prn
- echo Printing Commercial List (10/16) . . .
- type Pirate.dd >prn
- echo Printing Miscellaneous/Hacked List (11/16) . . .
- type HackMisc.dd >prn
- echo Printing Acknowledgements (12/16) . . .
- type Acknowl.dd >prn
- echo Printing Glossary (13/16) . . .
- type Glossary.dd >prn
- echo Printing Update History (14/16) . . .
- type History.dd >prn
- echo Mailing List Information (15/16) . . .
- type Mail-Lst.dd >prn
- echo Printing Update Information (16/16) . . .
- type Update.dd >prn
- echob
- goto Absolute_End
-
- :Introduction
- echob
- get n " Do you want to print the Introduction (1/16) [Y,n]? "
- if %get%==N goto Definitions
- if %get%==~ goto Absolute_End
- type Intro.dd >prn
- echob
-
- :Definitions
- echob
- get n " Do you want to print important Definitions (ie. Virus) (2/16) [Y,n]? "
- if %get%==N goto WhatsNew
- if %get%==~ goto Absolute_End
- type Define.dd >prn
- echob
-
- :WhatsNew
- echob
- get n " Do you want to print What's New since last version (3/16) [Y,n]? "
- if %get%==N goto Prevent_Virus_Trojan
- if %get%==~ goto Absolute_End
- type WhatsNew.dd >prn
- echob
-
- :Prevent_Virus_Trojan
- echob
- get n " Do you want to print how to prevent Viruses and Trojans (4/16) [Y,n]? "
- if %get%==N goto Virus_Recovery
- if %get%==~ goto Absolute_End
- type Prevent.dd >prn
- echob
-
- :Virus_Recovery
- echob
- get n " Do you want to print Virus Recovery Steps (5/16) [Y,n]? "
- if %get%==N goto Trojan_Recovery
- if %get%==~ goto Absolute_End
- type VRecover.dd >prn
- echob
-
- :Trojan_Recovery
- echob
- get n " Do you want to print Trojan Horse Recovery Steps (6/16) [Y,n]? "
- if %get%==N goto Protection_Programs
- if %get%==~ goto Absolute_End
- type TRecover.dd >prn
- echob
-
- :Protection_Programs
- echob
- get n " Do you want to print Protection Program Information (7/16) [Y,n]? "
- if %get%==N goto Virus_List
- if %get%==~ goto Absolute_End
- type Protect.dd >prn
- echob
-
- :Virus_List
- echob
- get n " Do you want to print the Virus List (8/16) [Y,n]? "
- if %get%==N goto Trojan_List
- if %get%==~ goto Absolute_End
- type Virus.dd >prn
- echob
-
- :Trojan_List
- echob
- get n " Do you want to print the Trojan Horse List (9/16) [Y,n]? "
- if %get%==N goto Commercial_List
- if %get%==~ goto Absolute_End
- type Trojan.dd >prn
- echob
-
- :Commercial_List
- echob
- get n " Do you want to print the Commercial Software List (10/16) [Y,n]? "
- if %get%==N goto Hacked_Misc_List
- if %get%==~ goto Absolute_End
- type Pirate.dd >prn
- echob
-
- :Hacked_Misc_List
- echob
- get n " Do you want to print the Miscellaneous/Hacked List (11/16) [Y,n]? "
- if %get%==N goto Acknowledgements
- if %get%==~ goto Absolute_End
- type HackMisc.dd >prn
- echob
-
- :Acknowledgements
- echob
- get n " Do you want to print Acknowledgements (12/16) [Y,n]? "
- if %get%==N goto Glossary
- if %get%==~ goto Absolute_End
- type Acknowl.dd >prn
- echob
-
- :Glossary
- echob
- get n " Do you want to print the Glossary (13/16) [Y,n]? "
- if %get%==N goto Update_History
- if %get%==~ goto Absolute_End
- type Glossary.dd >prn
- echob
-
- :Update_History
- echob
- get n " Do you want to print the Update History (14/16) [Y,n]? "
- if %get%==N goto Mailing_List
- if %get%==~ goto Absolute_End
- type History.dd >prn
- echob
-
- :Mailing_List
- echob
- get n " Do you want to read how to join the Mailing List (15/16) [Y,n]? "
- if %get%==N goto Updates
- if %get%==~ goto Absolute_End
- List Mail-Lst.dd
- echob
-
- :Updates
- echob
- get n " Do you want to print how to send in Dirty Dozen Updates (16/16) [Y,n]? "
- if %get%==N goto Absolute_End
- if %get%==~ goto Absolute_End
- type Update.dd >prn
-
- :Absolute_End
- echo
- echo
- echo Thank You for printing the Dirty Dozen!
- echo
- echo