home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 2001 June
/
VPR0106A.BIN
/
OLS
/
IZPDJ006
/
izpdj006.lzh
/
SRC
/
PACK.BAT
< prev
Wrap
DOS Batch File
|
1999-05-23
|
1KB
|
57 lines
set binpack=izpdj006
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 izpdj.txt izpdj_e.txt package\
cp c:\windows\system\izip32j.dll package\
mkdir package\doc
mkdir package\src
#mkdir package\src\win32
#mkdir package\src\windll
#mkdir package\src\zip32j1
cp ..\zip22\bugs ..\zip22\changes ..\zip22\manual ..\zip22\readme package\doc\
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 ..
gdiff -ruN zip22org zip22 >izip32j.dif
cd izpdj
cp ..\izip32j.dif 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