@echo Check DIFF of VC90 projects folder...
@set TEMP1=tempdiffvc9.txt
@set TEMP2=C:\FGCVS
@set TEMPOPTS=diff -ur
@if NOT EXIST %TEMP2%\. goto ERR1

@REM Have made changes to projects\VC90 - FlightGear\FlightGear.vcproj and fgviewer\fgviewer.vcproj, so
@if NOT EXIST %TEMP2%\FlightGear\source\projects\VC90\FlightGear\FlightGear.vcproj goto ERR3_VCP1
@if NOT EXIST FlightGear\projects\VC90\FlightGear\FlightGear.vcproj goto ERR3_VCP1
@if NOT EXIST %TEMP2%\FlightGear\source\projects\VC90\fgviewer\fgviewer.vcproj goto ERR3_VCP2
@if NOT EXIST FlightGear\projects\VC90\fgviewer\fgviewer.vcproj goto ERR_VCP2

@REM %TEMPOPTS% %TEMP2%\FlightGear\source\projects\VC90\FlightGear\FlightGear.vcproj FlightGear\projects\VC90\FlightGear\FlightGear.vcproj >> %TEMP1%
@REM %TEMPOPTS% %TEMP2%\FlightGear\source\projects\VC90\fgviewer\fgviewer.vcproj FlightGear\projects\VC90\fgviewer\fgviewer.vcproj >> %TEMP1%
@echo Doing %TEMPOPTS% %TEMP2%\FlightGear\source\projects\VC90 FlightGear\projects\VC90 > %TEMP1%
%TEMPOPTS% %TEMP2%\FlightGear\source\projects\VC90 FlightGear\projects\VC90 >> %TEMP1%
@goto END

:ERR3_VCP1
:ERR3_VCP2
@echo FILE DOES NOT EXIST!!!
@echo %TEMP2%\FlightGear\source\projects\VC90\FlightGear\FlightGear.vcproj, or
@echo FlightGear\projects\VC90\FlightGear\FlightGear.vcproj, or
@echo %TEMP2%\FlightGear\source\projects\VC90\fgviewer\fgviewer.vcproj, or
@echo FlightGear\projects\VC90\fgviewer\fgviewer.vcproj!
@echo ABORTING DIFF UNFINISHED...
@pause
@goto END

:ERR1
@echo ERROR: Can NOT locate source at [%TEMP2%] ... check name, location ...
@goto END

:END
