home *** CD-ROM | disk | FTP | other *** search
- @echo off
- rem
- rem +-------------------------------------------+
- rem ! OPSYS PRINT DOCUMENT Batch File !
- rem ! Copyright (c) 1990 mcTRONic Systems !
- rem ! Revised on: August 31, 1990 !
- rem ! File Name: DOCUTIL.BAT !
- rem +-------------------------------------------+
- rem
- if not exist bh.com goto :error
- :start
- cls
- echo ╔═══════════════════════════════════════════════════════════════════════╗
- echo ║ ║
- echo ║ ▒▒▒▒▒▄ ▒▒▒▒▒▄ ▒▒▒▒▒▄ ▒▄ ▒▄ ▒▒▒▒▒▄ ║
- echo ║ ▒█▀▀▒█ ▒█▀▀▒█ ▒▀▀▀▀▀ ▒█▄▄▒█ ▒▀▀▀▀▀ ║
- echo ║ ▒█ ▒█ ▒▒▒▒▒█ ▀▀▀▒▄ ▒▒▒█▀ ▀▀▀▒▄ ║
- echo ║ ▒▒▒▒▒█ ▒█▀▀▀▀ ▒▒▒▒▒█ ▒█▀ ▒▒▒▒▒█ ║
- echo ║ ▀▀▀▀▀ ▀ ▀▀▀▀ ▀ ▀▀▀▀▀ ║
- echo ║ ║
- echo ║ An Operating System Multi-Configuration Menu Utility ║
- echo ║ ║
- echo ╠═══════════════════════════════════════════════════════════════════════╣
- echo ║ ║
- echo ║ 1) Display or Print OPSYS.DOC, the OPSYS Documentation ║
- echo ║ 2) Display or Print BOOT.DOC, Reboot Utility Documentation ║
- echo ║ 3) Display or Print PROBLEM.DOC, OPSYS Problem Report ║
- echo ║ 4) Display or Print ORDER.DOC, OPSYS Order Form ║
- if exist INSTALL.BAT echo ║ 5) Run the OPSYS Hard Disk INSTALL Program ║
- echo ║ ║
- echo ║ Q) Quit Print Program, Exit to DOS ║
- echo ║ ║
- echo ╚═══════════════════════════════════════════════════════════════════════╝
- if exist INSTALL.BAT bh 12345Q
- if NOT exist INSTALL.BAT bh 1234Q
- CLS
- if errorlevel 6 goto end
- if exist INSTALL.BAT if errorlevel 5 INSTALL
- if NOT exist INSTALL.BAT if errorlevel 5 goto end
- if errorlevel 4 goto 4prtred
- if errorlevel 3 goto 3prtred
- if errorlevel 2 goto 2prtred
- if errorlevel 1 goto 1prtred
- if errorlevel 0 goto end
- :1prtred
- if not exist opsys.doc echo OPSYS.DOC file NOT found!
- if not exist opsys.doc pause
- if not exist opsys.doc goto start
- echo ╔═══════════════════════════════════════════════════════════════════════╗
- echo ║ ║
- echo ║ 1) Display OPSYS.DOC, OPSYS Documentation ║
- echo ║ 2) Print OPSYS.DOC, OPSYS Documentation ║
- echo ║ ║
- echo ║ Q) Quit, Return to Main Menu ║
- echo ║ ║
- echo ╚═══════════════════════════════════════════════════════════════════════╝
- bh 12q
- if errorlevel 3 goto start
- if errorlevel 2 goto 1prt
- if errorlevel 1 bh # OPSYS.DOC
- goto start
- :1prt
- cls
- echo ╔═══════════════════════════════════════════════════════════════════════╗
- echo ║ ║
- echo ║ Printing OPSYS.DOC, OPSYS Documentation ║
- echo ║ ║
- echo ╚═══════════════════════════════════════════════════════════════════════╝
- type opsys.doc >prn
- echo + +
- echo ++++++++++++++++++++++++++ PRINTING COMPLETE! +++++++++++++++++++++++++
- echo + +
- pause
- goto start
- :2prtred
- if not exist boot.doc echo BOOT.DOC file NOT found!
- if not exist boot.doc pause
- if not exist boot.doc goto start
- echo ╔═══════════════════════════════════════════════════════════════════════╗
- echo ║ ║
- echo ║ 1) Display BOOT.DOC, BOOT Documentation ║
- echo ║ 2) Print BOOT.DOC, BOOT Documentation ║
- echo ║ ║
- echo ║ Q) Quit, Return to Main Menu ║
- echo ║ ║
- echo ╚═══════════════════════════════════════════════════════════════════════╝
- bh 12q
- if errorlevel 3 goto start
- if errorlevel 2 goto 2prt
- if errorlevel 1 bh # BOOT.DOC
- goto start
- :2prt
- cls
- echo ╔═══════════════════════════════════════════════════════════════════════╗
- echo ║ ║
- echo ║ Printing BOOT.DOC, BOOT Documentation ║
- echo ║ ║
- echo ╚═══════════════════════════════════════════════════════════════════════╝
- type boot.doc >prn
- echo + +
- echo ++++++++++++++++++++++++++ PRINTING COMPLETE! +++++++++++++++++++++++++
- echo + +
- pause
- goto start
- :3prtred
- if not exist problem.doc echo PROBLEM.DOC file NOT found!
- if not exist problem.doc pause
- if not exist problem.doc goto start
- echo ╔═══════════════════════════════════════════════════════════════════════╗
- echo ║ ║
- echo ║ 1) Display PROBLEM.DOC, OPSYS Problem Report ║
- echo ║ 2) Print PROBLEM.DOC, OPSYS Problem Report ║
- echo ║ ║
- echo ║ Q) Quit, Return to Main Menu ║
- echo ║ ║
- echo ╚═══════════════════════════════════════════════════════════════════════╝
- bh 12q
- if errorlevel 3 goto start
- if errorlevel 2 goto 3prt
- if errorlevel 1 bh # PROBLEM.DOC
- goto start
- :3prt
- cls
- echo ╔═══════════════════════════════════════════════════════════════════════╗
- echo ║ ║
- echo ║ Printing PROBLEM.DOC, OPSYS Problem Report ║
- echo ║ ║
- echo ╚═══════════════════════════════════════════════════════════════════════╝
- type problem.doc >prn
- echo + +
- echo ++++++++++++++++++++++++++ PRINTING COMPLETE! +++++++++++++++++++++++++
- echo + +
- pause
- goto start
- :4prtred
- if not exist order.doc echo ORDER.DOC file NOT found!
- if not exist order.doc pause
- if not exist order.doc goto start
- echo ╔═══════════════════════════════════════════════════════════════════════╗
- echo ║ ║
- echo ║ 1) Display ORDER.DOC, OPSYS Registration Form ║
- echo ║ 2) Print ORDER.DOC, OPSYS Registration Form ║
- echo ║ ║
- echo ║ Q) Quit, Return to Main Menu ║
- echo ║ ║
- echo ╚═══════════════════════════════════════════════════════════════════════╝
- bh 12q
- if errorlevel 3 goto start
- if errorlevel 2 goto 4prt
- if errorlevel 1 bh # ORDER.DOC
- goto start
- :4prt
- cls
- echo ╔═══════════════════════════════════════════════════════════════════════╗
- echo ║ ║
- echo ║ Printing ORDER.DOC, OPSYS Order Form ║
- echo ║ ║
- echo ╚═══════════════════════════════════════════════════════════════════════╝
- type order.doc >prn
- echo + +
- echo ++++++++++++++++++++++++++ PRINTING COMPLETE! +++++++++++++++++++++++++
- echo + +
- pause
- goto start
- :error
- cls
- echo ╔═════════════════════════════════════════════════════════╗
- echo ║ ║
- echo ║ The file BH.COM must be in the same default directory ║
- echo ║ as DOCUTIL.BAT. Please have these two files in the ║
- echo ║ same default directory before running DOCUTIL.BAT. ║
- echo ║ ║
- echo ╚═════════════════════════════════════════════════════════╝
- pause
- :end
- cls