http://bugs.winehq.org/show_bug.cgi?id=28920
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|DUPLICATE |
--- Comment #2 from Dan Kegel dank@kegel.com 2011-10-28 14:00:27 CDT --- Wait, it's not really a dup. Oddly, the problem goes away if you quote the path to the batch file. Looking on the web, everybody does this, and trying it on Windows 7, the call won't even work without quotes.
So the problem seems to be that wine's cmd is too forgiving about running programs from unquoted paths, and when it does that, it runs the batch file as a new subprocess rather than as just another script, thus the settings from the batch file are lost.