From d19a06ecfbdae6af6b4046ff53d97464b2be5f6e Mon Sep 17 00:00:00 2001 From: curt Date: Mon, 11 Jun 2001 22:11:49 +0000 Subject: [PATCH] Initial revision. --- runfgfs.bat | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 runfgfs.bat diff --git a/runfgfs.bat b/runfgfs.bat new file mode 100644 index 000000000..ebcc4988f --- /dev/null +++ b/runfgfs.bat @@ -0,0 +1,23 @@ +REM @ECHO OFF + +REM Skip ahead to CONT1 if FG_ROOT has a value +IF NOT %FG_ROOT%.==. GOTO CONT1 + +SET FG_ROOT=. + +:CONT1 + +REM Check for the existance of the executable +IF NOT EXIST %FG_ROOT%\BIN\FGFS.EXE GOTO ERROR1 + +REM Now that FG_ROOT has been set, run the program +ECHO FG_ROOT = %FG_ROOT% +%FG_ROOT%\BIN\FGFS.EXE %1 %2 %3 %4 %5 %6 %7 %8 %9 + +GOTO END + +:ERROR1 +ECHO Cannot find %FG_ROOT%\BIN\FGFS.EXE +GOTO END + +:END