home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS - Coast to Coast
/
simteldosarchivecoasttocoast.iso
/
pcmag
/
vol9n14.zip
/
ZIPNGO.BAT
< prev
Wrap
DOS Batch File
|
1990-07-03
|
640b
|
26 lines
@ECHO OFF
IF "%3"=="" GOTO explain
MGUNZIP %1 %2 %3
IF ERRORLEVEL 1 GOTO UnzipTrouble
ECHO I have extracted "%3" from "%1".
ECHO To use this batch file, insert a line that
ECHO calls a program to work with "%3", e.g.
ECHO WP %%3
PAUSE
MGZIP -a %1 %2%3
IF ERRORLEVEL 1 GOTO ZipTrouble
DEL %2%3 > NUL
GOTO end
:explain
ECHO Before invoking this Launch option, highlight the filename
ECHO within the ZIP file and press {Enter} to View it.
PAUSE
GOTO end
:UnzipTrouble
ECHO Sorry, I could not unzip the file for you.
PAUSE
GOTO end
:ZipTrouble
ECHO I could not re-ZIP the file %2%3, so I didn't delete it.
:end