home *** CD-ROM | disk | FTP | other *** search
- @ECHO OFF
- ECHO OFF
- ECHO
- ECHO This batch file prints Mister ED's manual, MANUAL.PRN, to the printer
- ECHO you specified on the command line. If you didn't specify a printer,
- ECHO the device at PRN will be used, or you can restart this batch file
- ECHO with a device location on the command line. The manual is printed
- ECHO using the DOS COPY command and is approximately 80 pages long, so
- ECHO it may take awhile to print.
- ECHO
- ECHO Press Ctrl-Break to Quit, or
- PAUSE
- IF NOT EXIST MANUAL.PRN GOTO NOMANUAL
- IF "%1" == "" GOTO DEFAULT
- COPY MANUAL.PRN %1
- GOTO DONE
- :DEFAULT
- COPY MANUAL.PRN PRN
- GOTO DONE
- :NOMANUAL
- ECHO
- ECHO For this batch file to print MANUAL.PRN, the file MANUAL.PRN must
- ECHO be in the same directory as this batch file.
- ECHO
- ECHO Execution terminated.
- GOTO DONE
- :DONE