home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Time Riders in American History
/
TR_AMAZ.BIN
/
prt.bat
< prev
next >
Wrap
DOS Batch File
|
1994-09-19
|
2KB
|
82 lines
IF %1 == YUKON GOTO S_YUKON
IF %1 == OTHERNEW GOTO S_OTHERNEW
IF %1 == OREGONII GOTO S_OtII
IF %1 == OREGON GOTO S_OREGON
IF %1 == WRITING GOTO S_WRITING
IF %1 == AMAZON GOTO S_AMAZON
:S_YUKON
more < \dostxt\yukon.txt
GOTO END_SCREEN
:S_OTHERNEW
MORE < \dostxt\othernew.txt
GOTO END_SCREEN
:S_OtII
More < \dostxt\oregonii.txt
GOTO END_SCREEN
:S_OREGON
more < \dostxt\oregon.txt
GOTO END_SCREEN
:S_WRITING
more < \dostxt\writing.txt
GOTO END_SCREEN
:S_AMAZON
more < \dostxt\amazon.txt
GOTO END_SCREEN
:END_SCREEN
@echo.
@echo.
@echo.
:again
ask Would you like to print this file? [Y,N]
if errorlevel 90 goto again
if errorlevel 89 goto OKAY
if errorlevel 79 goto again
if errorlevel 78 goto END
goto again
:okay
cls
@echo.
@echo.
@echo.
@echo.
@echo.
@echo.
@echo.
@echo.
@echo Please make sure your printer is ready . . .
@echo.
PAUSE
@echo.
@echo.
IF %1 == YUKON GOTO P_YUKON
IF %1 == othernew GOTO P_OTHERNEW
IF %1 == oregonii GOTO P_OtII
IF %1 == oregon GOTO P_OREGON
IF %1 == writing GOTO P_WRITING
IF %1 == amazon GOTO P_AMAZON
:P_YUKON
TYPE \dostxt\yukon.txt >PRN
GOTO END_PRINT
:P_OTHERNEW
TYPE \dostxt\othernew.txt >PRN
GOTO END_PRINT
:P_OTII
TYPE \dostxt\oregonii.txt >PRN
GOTO END_PRINT
:P_OREGON
TYPE \dostxt\oregon.txt >PRN
GOTO END_PRINT
:P_WRITING
TYPE \dostxt\writing.txt >PRN
GOTO END_PRINT
:P_AMAZON
TYPE \dostxt\amazon.txt >PRN
GOTO END_PRINT
:END_PRINT
:END
DEMOME READ