https://bugs.winehq.org/show_bug.cgi?id=32679
--- Comment #17 from alexcoffin1999@gmail.com --- (In reply to joaopa from comment #16)
windows XP: expected expected Wine:expected expected unexpected.
So I assume the bug still occurs with wine-5.14.
I haven't checked but I almost guarentee it.
Yeah the issue is really that the whole cmd.exe needs to be rewritten. I have some notes I could send you, but they mostly are covered by this stackoverflow post. WARNING: the post is incorrect about a few parts of the processing, and order (I think I noticed because if you break a command across multiple lines with new lines in variable expansion or other edges cases it doesn't quite process how he claims it would). https://stackoverflow.com/questions/4094699/how-does-the-windows-command-int... If people actually care about this issue I could bite the bullet and do it, but it seemed like a lot of work for something no one cares about. I would recommend checking if ReactOS has a better implementation of cmd.exe before starting from scratch though. Let me know if you want my other notes, and test programs.