home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 2001 January
/
VPR0101A.BIN
/
OLS
/
ZCRYD001
/
zcryd001.lzh
/
SRC
/
PACK.BAT
< prev
next >
Wrap
DOS Batch File
|
1998-06-02
|
1KB
|
52 lines
set binpack=zcrpd001
set allpack=tasrc023.lzh
set srcpack=lhminsrc.lzh
if "%1"=="" goto binpack
if "%1"=="all" goto allpack
if "%1"=="src" goto srcpack
:binpack
copy %binpack%.exe lhaold.exe
del %binpack%.lzh
rm -r package
mkdir package
cp zcrypt32.txt package\
cp c:\windows\system\zcrypt32.dll package\
mkdir package
mkdir package\src
#mkdir package\src\win32
#mkdir package\src\windll
#mkdir package\src\zip32j1
cp zcrypt32\*.c zcrypt32\*.h zcrypt32\*.dsp zcrypt32\*.def package\src\
#cp ..\zip22\todo ..\zip22\whatsnew ..\zip22\where package\doc\
#cp ..\zip22\*.c ..\zip22\*.h package\src\
#cp ..\zip22\* package\src
#rm package\src\*.{obj,zip}
#cp ..\zip22\win32\* package\src\win32\
#rm package\src\win32\*.obj
#cp ..\zip22\windll\* package\src\windll\
#rm package\src\windll\*.obj
#cp ..\zip22\zip32j1\*.* package\src\zip32j1\
cp pack.bat package\src\
cd package
lha a -xr %binpack%.lzh
' lha s -xr %binpack%.lzh
copy %binpack%.lzh ..
cd ..
goto end
:allpack
del %allpack%
lha a %allpack%
cp %allpack% ..\backup\
goto end
:srcpack
del %srcpack%
lha a %srcpack% *.vbp *.frm *.bas *.frx *.cls *.ico *.sap
:end