@echo Zipping the bin folder ...
@if "%TEMPVERS%." == "." goto ERR1
@if "%TEMPVCV%." == "." goto ERR2
@if NOT EXIST bin\. goto ERR3
@set TEMPXBIN=-xbin\FlightGearD.*
@REM Get everything in the 'bin' folder
call zip8 -a -o -P %TEMPXBIN% fg%TEMPVCV%rt%TEMPVERS%.zip bin\*.*
@goto END

:ERR1
@echo Version (TEMPVERS) NOT SET ...
@pause
@goto END

:ERR2
@echo VC Version (TEMPVCV) NOT SET ...
@pause
@goto END

:ERR3
@echo bin FOLDER DOES NOT EXIST!
@pause
@goto END

:END
