@echo Compare FG with CVS...
@setlocal
@set TEMP1=C:\FGCVS\FlightGear\Source
@set TEMP2=C:\FG\32\FlightGear
@set TEMPE=C:\MDOS\dc4w.exe
@if NOT EXIST %TEMP1%\. goto ERR1
@if NOT EXIST %TEMP2%\. goto ERR2
@if NOT EXIST %TEMPE% goto ERR3
@if "%1x" == "x" goto DOIT
@if /i "%1x" == "cvsx" goto DOCVS
@echo ERROR: Only input is none, or the command 'CVS'...
@goto END

:DOCVS
%TEMPE% -i:d:CVS %2 %3 %4 %5 %6 %7 %8 %9 %TEMP1% %TEMP2%
@goto END

:DOIT
%TEMPE% %1 %2 %3 %4 %5 %6 %7 %8 %9 %TEMP1% %TEMP2%
@goto END

:ERR1
@echo ERROR: Folder %TEMP1% does NOT exist! Check name, location...
@goto END

:ERR2
@echo ERROR: Folder %TEMP2% does NOT exist! Check name, location...
@goto END

:ERR3
@echo ERROR: File %TEMPE% does NOT exist! Check name, location...
@goto END

:END
