home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 19
/
CD_ASCQ_19_010295.iso
/
win
/
tools
/
zsshl2
/
zunshar.ba_
/
ZUNSHAR.BAT
Wrap
DOS Batch File
|
1994-11-20
|
973b
|
31 lines
@echo off
REM ZUNSHAR -------------------------------------
REM Batch file to use UNSHAR with the ZS Shell
REM %1 is the SHAR file name
REM %2 is the ZIP file to create
REM
REM We use a temp directory named 897436
REM make sure you don' t use such a directory
REM to avoid a possible blanking...
REM --------------------------------------------
REM Goto the Zip Studio EXTERN directory
REM We use it to keep some space for the
REM command line. (Please check GO_ZSHL.BAT)
REM to adapt it to your configuration).
CALL GO_ZSHL.BAT
REM Build a temp subdirectory
MD 897436
CD 897436
REM Unshar the files to this directory
UNSHAR %1
REM Going to the default directory
CD..
REM Rezip the files to the destname$
PKZIP -a-p-r %2 897436\*.*
REM Deleting the temp directory ----------------
REM Available with MSDOS 6.0, for the previous
REM release use DEL *., DEL *.? .. and so on.
REM --------------------------------------------
DELTREE /Y 897436