home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
MISC
/
GAPDEMO1.ZIP
/
ARCREAD.BAT
next >
Wrap
DOS Batch File
|
1995-01-03
|
543b
|
26 lines
@echo off
REM Called by GAP to read a file from within an archive
REM %1 = Where to put Extracted File (Work Directory)
REM %2 = Full Path/Name of the Archive File to process
REM %3 = What kind of Archive it is: ARC,ZIP,ICE,LZH,PAK,etc
REM %4 = Name of the file to extract from the Archive
if %3 == ZIP goto dozip
if %3 == EXE goto dozip
if %3 == ARC goto doarc
if %3 == LZH goto dolzh
goto end
:dozip
pkunzip /o %2 %1\ %4
goto end
:doarc
arc eo %2 %1\ %4
goto end
:dolzh
lha e %2 %1\ %4
:end