https://bugs.winehq.org/show_bug.cgi?id=45051
Bug ID: 45051 Summary: cmd.exe for loop does not resolve wildcards with subdirectory Product: Wine Version: 3.0 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: cmd Assignee: wine-bugs@winehq.org Reporter: jonathanbelsewir@yahoo.de Distribution: ---
I have a subdirectory lognew with three files: access1.log access2.log access3.log
This does not work right: for %%f in (lognew\access*.log) do ( call echo %%f )
Output: lognew\access1.log echoaccess2.log echoaccess3.log
Wordaround: cd lognew for %%f in (access*.log) do ( call echo %%f ) cd ..
Output: access1.log access2.log access3.log