home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 2 BBS
/
02-BBS.zip
/
MXP001.ZIP
/
PACK.CMD
< prev
Wrap
OS/2 REXX Batch file
|
1990-11-27
|
639b
|
39 lines
@echo off
rem
rem Parameters passed on to this Batch file by MX:
rem
rem %1 Hotkey command used to select the desired file
rem compression program.
rem
rem %2 Full path and file name of the would-be compressed mail
rem bundle.
rem
rem %3 Full path and file name of the message text file constructed
rem by MX.
rem
if "%1" == "A" goto PACK_ARC
if "%1" == "Z" goto PACK_ZIP
if "%1" == "L" goto PACK_LZH
goto END
:PACK_ARC
arc2 -a %2 %3
goto END
:PACK_ZIP
pkzip2 -a %2 %3
goto END
:PACK_LZH
lh a %2 %3
goto END
:END