https://bugs.winehq.org/show_bug.cgi?id=57148
--- Comment #2 from Bernhard Übelacker bernhardu@mailbox.org --- (In reply to Eric Pouech from comment #1)
tentative patch
Thanks for having a look.
Sorry, I missed to add a shorter reproducer than the linked batch file: wine cmd for /f "tokens=2" %# in ("a b c") do @echo %#
I can confirm with the tentative patch above command and also the ghidra startup batch file are no longer showing the syntax error.