@set TEMPB=dv32
@if "%TEMPv%x" == "x" goto NOVER
@set TEMP2=%TEMPB%-%TEMPV%.zip
@set TEMP3=%TEMPB%e%TEMPV%.zip
@REM @set TEMP2=DV32-05.ZIP - Feb/Mar 2005 upload to site
@REM @set TEMP2=DV32-04.ZIP - move to PRO-1 - 20041009
@if EXIST %TEMP%\TEMPXX goto GotX
call qsiex4
@if NOT EXIST %TEMP%\TEMPXX goto err1
:GotX
@if EXIST %TEMP2% goto DoI
@set TEMP1=-a -o -p -r -x@%TEMP%\tempxx -x@excl.txt
@goto DoIT
:DoI
@set TEMP1=-i -o -p -r -x@%TEMP%\tempxx -x@excl.txt
:DoIt
@REM pkz %TEMP1% %TEMP2% *.*
call zip8 %TEMP1% %TEMP2% *.*
@if NOT EXIST %TEMP2% goto Err2
call zip8 -a -o %TEMP3% Release\DV32.EXE WJPEG32\Release\WJPEG32.DLL WJPG32_2\Release\WJPG32_2.DLL
@if NOT EXIST D:\SAVES\nul goto DONE
copy %TEMP2% D:\SAVES\. > nul
copy %TEMP3% D:\SAVES\. > nul
:DONE
call savetod2 %TEMP2%
call savetod2 %TEMP3%
dir %TEMP2%
@echo Done zip up of project ...
@goto END

:err1
@echo	ERROR: Unable to create file [%TEMP%\TEMPXX]
@echo	for EXCLUDE list!!!
@goto END

:Err2
@echo Unable to create file %TEMP2% ...
@goto End

:NOVER
@echo ERROR: TEMPv NOT SET IN ENVIRONMENT!!! Run UPD.BAT ...
@pause
@goto END


:END
