Like BUG-57912 and BUG-57913, this was encountered in https://www.smwcentral.net/?p=section&a=details&id=33546 (.resources/Lunar Magic/scripts/insert_all_patches.bat).
Unfortunately, I was unable to write a passing test; winetest redirects the child's stdout to a file, so GetConsoleScreenBufferInfo fails. And some of those numbers will vary between machines. Should I just drop the test?
--
v4: cmd/tests: Add tests for new MODE command.
cmd: Introduce MODE command.
https://gitlab.winehq.org/wine/wine/-/merge_requests/7491
Before the commit in question, both of these paths would be parsed as valid (with e.g. FindFirstFile):
```
Z:\tmp\\*
/tmp//*
```
After the commit, only the DOS path is accepted, while the Unix path returns ERROR_INVALID_NAME.
Fixes: ffa88c3993c3da97c7403209ef2068b2e3fac66f
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/8464