home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mega CD-ROM 1
/
megacd_rom_1.zip
/
megacd_rom_1
/
MENU
/
PANMAN15.ZIP
/
PMPRT.BAT
< prev
next >
Wrap
DOS Batch File
|
1990-07-28
|
900b
|
28 lines
Echo Off
Rem : PMPRT.BAT : %1=Panel, %2=Directory (or X),
Rem : %3-%9=Command Line
Cls
Echo ┌─────────────────────────────────────────┐
Echo │ Where do you want printed output to go? │
Echo ├─────────────────────────────────────────┤
Echo │ L - Local printer (on your computer). │
Echo │ 0 - Local Area Network Printer 0 │
Echo │ 1 - Local Area Network Printer 1 │
Echo │ Q - Quit (go back to the menu) │
Echo └─────────────────────────────────────────┘
Echo
Set PRT=L
Task Press key "L", "0", "1", or "Q"? $L01Q
Echo
If ErrorLevel 81 If Not ErrorLevel 82 PMCAN %1
If ErrorLevel 49 If Not ErrorLevel 50 Set PRT=1
If ErrorLevel 48 If Not ErrorLevel 49 Set PRT=0
If Not [%2]==[X] If Not [%2]==[x] ChDir %2
If Not [%PRT%]==[L] %3 %4 %5 %6 %7 %8 %9 /PRINTER=%PRT%
If [%PRT%]==[L] %3 %4 %5 %6 %7 %8 %9
Cls
Echo
ChDir \
Set PRT=
%1