https://bugs.winehq.org/show_bug.cgi?id=45722
Bug ID: 45722 Summary: cmd for loop doesn't work with tokens and delims Product: Wine Version: 3.0.2 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: cmd Assignee: wine-bugs@winehq.org Reporter: paleozogt@gmail.com Distribution: ---
Created attachment 62153 --> https://bugs.winehq.org/attachment.cgi?id=62153 example of for loop that doesn't work
Using a "for /F" loop with tokens and delims doesn't work.
Attached is a test.bat that shows the problem. It takes an argument list, splits it up by the loop and echos each arg.
With Windows 10's cmd, it looks like this:
test.bat foo bar baz
foo bar baz
While Wine 3.0.2's cmd doesn't output anything. It appears to run right over the loop.