http://bugs.winehq.org/show_bug.cgi?id=26749
--- Comment #5 from Dan Kegel dank@kegel.com 2011-10-28 13:39:51 CDT --- Hang on, I think my minimal test case may have been too minimal. Try this one on for size:
file c:\dummy dir\foo.bat: PATH %PATH%;c:\podunk
file bar.bat: call c:\dummy dir\foo.bat echo back in bar PATH
cmd /c bar.bat
Expected output: path with podunk on end Observed output: path without podunk on end
Now repeat, but with an underscore instead of a space in the name "dummy dir". This time it works! That's really strange.