https://bugs.winehq.org/show_bug.cgi?id=50642
Bug ID: 50642 Summary: Wine cmd handles incorrectly if-set when expanding variable with brackets Product: Wine Version: 6.1 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: cmd Assignee: wine-bugs@winehq.org Reporter: rpisl@seznam.cz Distribution: ---
Created attachment 69352 --> https://bugs.winehq.org/attachment.cgi?id=69352 Testcase
Wine cmd handles incorrectly expression with if and set when there is an expansion of variable which value contains brackets:
if exist "%ProgramFiles%" set var=%ProgramFiles%\somefolder
Can't recognize 'x86' as an internal or external command, or batch script. Can't recognize '\somefolder' as an internal or external command, or batch script.
See attached test case.
https://bugs.winehq.org/show_bug.cgi?id=50642
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, testcase
https://bugs.winehq.org/show_bug.cgi?id=50642
--- Comment #1 from Gijs Vermeulen gijsvrm@gmail.com --- This seems to work after https://source.winehq.org/git/wine.git/commit/2d6b0b67d91b6433744ec859b10b8ee8eb4a37b3, can you confirm?
https://bugs.winehq.org/show_bug.cgi?id=50642
Roman Pišl rpisl@seznam.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |2d6b0b67d91b6433744ec859b10 | |b8ee8eb4a37b3 Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #2 from Roman Pišl rpisl@seznam.cz --- Confirming.
https://bugs.winehq.org/show_bug.cgi?id=50642
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.4.
https://bugs.winehq.org/show_bug.cgi?id=50642
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.0.x
https://bugs.winehq.org/show_bug.cgi?id=50642
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0.x |---
--- Comment #4 from Michael Stefaniuc mstefani@winehq.org --- Removing the 6.0.x milestone from bug fixes included in 6.0.1.