[Bug 21505] cmd returns %ProgramFiles% with newline character
wine-bugs at winehq.org
wine-bugs at winehq.org
Thu Jan 28 01:33:58 CST 2010
http://bugs.winehq.org/show_bug.cgi?id=21505
NSLW <lukasz.wojnilowicz at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|CLOSED |UNCONFIRMED
Resolution|INVALID |
--- Comment #3 from NSLW <lukasz.wojnilowicz at gmail.com> 2010-01-28 01:33:58 ---
(In reply to comment #1)
> Don't see a problem here:
It's because you tested it in wrong way.
> Win xp:
> echo %ProgramFiles%> test_echo_win.txt
In cmd do :
set PROGRAMFILES=%ProgramFiles%
echo "PreviousText_ %PROGRAMFILES% _NextText" > test_echo_wine.txt
> Wine:
> wine cmd /c echo "%ProgramFiles%" > test_echo_wine.txt
In terminal do:
PROGRAMFILES=`wine cmd /c echo %ProgramFiles%`
echo "PreviousText_ $PROGRAMFILES _NextText" >& test_echo_wine.txt
Now you can compare both files. In MS WinXP case all is in single line in Wine
case text is in two lines.
--
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.
More information about the wine-bugs
mailing list