[Mono-list] Fix for batch files on WinME

J. Perkins jason@379.com
Wed, 24 Jul 2002 16:09:41 -0400


Ran the mono windows install on a WinME box, and had some problems
with the batch files (mono.bat, monomcs.bat, etc.) which I was
able to fix. Here's a replacement for mono.bat, the changes to
the other files should be obvious.

Jason
379

  ---

@echo off
call monobasepath.bat
set MONOARGS=
:loop
if x%1 == x goto :done
set MONOARGS=%MONOARGS% %1
shift
goto loop
:done

rem ----------- REPLACE THESE --------------
rem setlocal
rem path=%MONO_BASEPATH%\bin\;%MONO_BASEPATH%\lib\;%path%
rem %MONO_BASEPATH%\bin\monomono %MONOARGS%
rem endlocal


rem ----------- WITH THESE -----------------
set MONO_OLD_PATH=%path%
set path="%MONO_BASEPATH%\bin\;%MONO_BASEPATH%\lib\;%path%"
%MONO_BASEPATH%\bin\monomono %MONOARGS%
set path="%MONO_OLD_PATH%"