Hi Neil
See below is my .bat file that I run from
the Flightgear folder under Cygwin

REM @ECHO OFF

REM Skip ahead to CONT1 if FG_ROOT has a value
IF NOT %FG_ROOT%.==. GOTO CONT1

SET TOP_ROOT=.
SET FG_ROOT=%TOP_ROOT%\DATA

:CONT1

REM Check for the existance of the executable
IF NOT EXIST %TOP_ROOT%\BIN\FGFS.EXE GOTO ERROR1

REM Now that FG_ROOT has been set, run the program
ECHO FG_ROOT = %FG_ROOT%
%TOP_ROOT%\BIN\FGFS.EXE

GOTO END

:ERROR1
ECHO Cannot find %TOP_ROOT%\BIN\FGFS.EXE
GOTO END

:END

HTH

Cheers
Innis

_________________________________________________________________
We've 100s of NEW questions! Play Millionaire online to win $$$$. Click here http://sites.ninemsn.com.au/minisite/millionaire/default.asp



_______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to