[Bug 45051] New: cmd.exe for loop does not resolve wildcards with subdirectory

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Apr 23 08:35:06 CDT 2018


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 at winehq.org
          Reporter: jonathanbelsewir at 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

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list