https://bugs.winehq.org/show_bug.cgi?id=53436 Bug ID: 53436 Summary: Can't recognize ')' as an internal or external command, or batch script. Product: Wine Version: 7.13 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: cmd Assignee: wine-bugs(a)winehq.org Reporter: joel(a)airwebreathe.org.uk Distribution: --- Wine when running the following command file: ------------ if "x"=="x" echo A & (if exist z (echo B) else (echo C))& echo D ------------ On Windows the output is: ------------ c:\workspace>test.cmd c:\workspace>if "x" == "x" echo A & (if exist z (echo B ) else (echo C ) ) & echo D A C D ------------ On Wine 7.13, the output is: ------------ $ wine64 test.cmd 007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 Z:\home\user\workspace>if "x"=="x" echo A & (if exist z (echo B) else (echo C))& echo D A C Can't recognise ')' as an internal or external command, or batch script. D ------------ Similar syntax is used in Msys2's msys2_shell.cmd file causing it to get stuck in an infinite loop. -- 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.