1998-04-09 01:45:30 +00:00
|
|
|
REM @ECHO OFF
|
|
|
|
|
1998-06-12 00:57:38 +00:00
|
|
|
REM Skip ahead to RUN1 if %FG_ROOT%\BIN\FG.EXE exists
|
|
|
|
IF EXIST %FG_ROOT%\BIN\FG.EXE GOTO RUN1
|
1998-04-09 01:45:30 +00:00
|
|
|
|
1998-06-12 00:57:38 +00:00
|
|
|
REM %FG_ROOT% wasn't set right so let's try "."
|
1998-05-07 23:14:14 +00:00
|
|
|
SET FG_ROOT=.
|
1998-06-12 00:57:38 +00:00
|
|
|
IF EXIST %FG_ROOT%\BIN\FG.EXE GOTO RUN1
|
1998-04-09 01:45:30 +00:00
|
|
|
|
1998-06-12 00:57:38 +00:00
|
|
|
REM %FG_ROOT% wasn't set right so let's try ".."
|
|
|
|
SET FG_ROOT=..
|
|
|
|
IF EXIST %FG_ROOT%\BIN\FG.EXE GOTO RUN1
|
1998-04-09 01:45:30 +00:00
|
|
|
|
1998-06-12 00:57:38 +00:00
|
|
|
REM %FG_ROOT% wasn't set right so let's try "@prefix@"
|
|
|
|
SET FG_ROOT=@prefix@
|
|
|
|
IF EXIST %FG_ROOT%\BIN\FG.EXE GOTO RUN1
|
1998-04-09 01:45:30 +00:00
|
|
|
|
1998-06-12 00:57:38 +00:00
|
|
|
ECHO Cannot find %FG_ROOT%\BIN\FG.EXE
|
|
|
|
GOTO END
|
|
|
|
|
|
|
|
:RUN1
|
1998-04-09 01:45:30 +00:00
|
|
|
REM Now that FG_ROOT has been set, run the program
|
|
|
|
ECHO FG_ROOT = %FG_ROOT%
|
1998-05-07 23:14:14 +00:00
|
|
|
%FG_ROOT%\BIN\FG.EXE %1 %2 %3 %4 %5 %6 %7 %8 %9
|
1998-04-09 01:45:30 +00:00
|
|
|
|
|
|
|
GOTO END
|
|
|
|
|
|
|
|
:END
|