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.