[Bug 33253] Command line: Incorrect behavior of "for" command

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Jun 3 17:04:57 CDT 2013


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

Jason Edmeades <us at edmeades.me.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |us at edmeades.me.uk

--- Comment #1 from Jason Edmeades <us at edmeades.me.uk> 2013-06-03 17:04:57 CDT ---
Ah... Just looking into the difference noted below. Be aware you have not
compared like with like and using the unix slashes even changes the behaviour
(although there is a bug/difference here):

(Windows 7)
E:\VMShared\bugs\33253>for %f in (etc/ini/*.bat) do echo %f
E:\VMShared\bugs\33253>echo gdal.bat
gdal.bat
E:\VMShared\bugs\33253>for %f in (etc\ini\*.bat) do echo %f
E:\VMShared\bugs\33253>echo etc\ini\gdal.bat
etc\ini\gdal.bat

I will use this bug to concentrate on the reason the below command is missing
the path when run in wine compared to windows
for %f in (etc\ini\*.bat) do echo %f

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