http://bugs.winehq.org/show_bug.cgi?id=26749
Frédéric Delanoy frederic.delanoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |frederic.delanoy@gmail.com
--- Comment #3 from Frédéric Delanoy frederic.delanoy@gmail.com 2011-07-20 14:10:06 CDT --- (In reply to comment #0)
This affects the "C:\Program Files\Mono-2.10.1\bin\setmonopath.bat" batch file bundled with Mono.
To repeat, do echo path=foo > foo.bat echo path >> foo.bat then run wine cmd /c foo.bat
expected output: PATH=foo
Observed output: PATH=C:\PROG~FBU\MONO~KUH.1\bin;C:\windows\system32;C:\windows;C:\windows\system32\wbem
Tried (with @echo off added as first line of foo.bat) Oddly enough typing "path" after cmd /c foo.bat prints the original path (c:\winnt...)
It's as if there's an implicit setlocal done. Or, more likely, the original path is restored for security reasons.