Initial revision.
This commit is contained in:
parent
e310421d44
commit
d19a06ecfb
1 changed files with 23 additions and 0 deletions
23
runfgfs.bat
Normal file
23
runfgfs.bat
Normal file
|
@ -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
|
Loading…
Reference in a new issue