home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
UTILS1
/
DRFORM31.ZIP
/
PRINT.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-03-01
|
392b
|
24 lines
@ECHO OFF
ECHO.
IF NOT %1.==. GOTO good1
ECHO You did not specify a filename
ECHO Type PRINT (filename) For example:
ECHO.
ECHO PRINT MANUAL.DOC or PRINT README.DOC
ECHO.
GOTO end
:good1
IF EXIST %1 GOTO good2
ECHO %1 was not found
GOTO end
:good2
ECHO .... Printing %1 ....
COPY %1 LPT1 > nul
ECHO.
ECHO Printing Finished
:end
ECHO.