[Mono-list] Fix for batch files on WinME

Guenther Roith groith@tcrz.net
Wed, 24 Jul 2002 22:47:18 +0200


Thanks, a good idea.


----- Original Message ----- 
From: "J. Perkins" <jason@379.com>
To: "Mono-list" <Mono-list@ximian.com>
Sent: Wednesday, July 24, 2002 10:09 PM
Subject: [Mono-list] Fix for batch files on WinME


> 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%"
> 
> 
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>