https://bugs.winehq.org/show_bug.cgi?id=50132
--- Comment #5 from Eric Pouech eric.pouech@gmail.com --- (In reply to Fabian Maurer from comment #3)
Tested against win7 x64 cmd
Case 1: Works Case 2: Broken, for empty lines still outputs "" Case 3: Works Case 4: Broken, syntax errors on wine (Note: Comments break things on windows). Can't get second part working on windows, always outputs nothing Case 5: Works Case 6: Works Case 7: Works Case 8: Broken, second part outputs nothing
Thanks for retesting. it looks like (for 5 and 8) that cmd doesn't support modifiers (%~) on loop variables. Added to my TODO list <g>