home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1998 March
/
VPR9803A.ISO
/
OLS
/
Windows
/
TAR32023
/
TAR32023.EXE
/
SRC
/
PACK.BAT
Wrap
DOS Batch File
|
1997-09-02
|
1KB
|
50 lines
set binpack=tar32023
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 tar32.txt package
cp e:\windows\system\tar32.dll history.txt package
mkdir package\src
mkdir package\src\src
mkdir package\src\tar32
mkdir package\src\tar32dos
mkdir package\licence
mkdir package\sdk
cp pack.bat package\src\
cp sdk\* package\sdk\
rm package\sdk\*.bak
cp tar32\tar32.lib src\tar32.h package\sdk\
cp src\* package\src\src\
cp tar32\*.mak tar32\*.mdp package\src\tar32\
cp tar32dos\*.mak tar32dos\*.mdp package\src\tar32dos\
cp licence\* package\licence\
cd package
lha a -xr %binpack%.lzh
lha s -xr %binpack%.lzh
copy %binpack%.exe ..
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