http://bugs.winehq.org/show_bug.cgi?id=21505 Summary: cmd returns %ProgramFiles% with newline character Product: Wine Version: 1.1.36 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: trivial Priority: P2 Component: cmd AssignedTo: wine-bugs(a)winehq.org ReportedBy: lukasz.wojnilowicz(a)gmail.com The problem is that Wine 1.1.36 returns ProgramFiles variable with newline character at the end. This is an regression because in Wine 1.1.35 ProgramFiles variable hadn't been returned with newline character at the end. I used script below to test it. #!/bin/bash PROGRAMFILES=`wine cmd /c echo "%ProgramFiles%"` echo "PreviousText_ $PROGRAMFILES _NextText" >& output.txt 1) In Wine 1.1.35 output.txt looks like PreviousText_ C:/Program Files _NextText 2) In Wine 1.1.36 output.txt looks like PreviousText_ C:/Program Files _NextText I tested this behaviour also in MS Windows XP SP3 and It's like in Wine 1.1.35 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.