home *** CD-ROM | disk | FTP | other *** search
- REM @echo off
- REM ZEXE2ZIP -------------------------------------
- REM Batch file to use ZIP2EXE with the ZS Shell
- REM %1 is the ZIP file name
- REM %2 is the destination directory
- 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 expand the files to this directory
- ZIP2EXE -e %1
- REM Going to the default directory
- COPY *.ZIP %2
- CD..
- REM Rezip the files to the destname$
- 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
-
-