[Bug 26749] in cmd, PATH=FOO should set PATH to FOO

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Oct 28 13:39:51 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=26749

--- Comment #5 from Dan Kegel <dank at 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.

-- 
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