[Bug 37330] New: FOR command doesn't work in CMD

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Sep 28 07:12:26 CDT 2014


https://bugs.winehq.org/show_bug.cgi?id=37330

            Bug ID: 37330
           Summary: FOR command doesn't work in CMD
           Product: Wine
           Version: unspecified
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: cmd
          Assignee: wine-bugs at winehq.org
          Reporter: vicmarcal at hotmail.com

The bug appears when testing:

wine cmd /C for /R %i in (*.exe) do %i

Seems there is a parsing error:

$ wine cmd /C for /R %i in (*.exe) do %i

syntax error near unexpected token `('
`wine cmd /C for /R %i in (*.exe) do %i'
The command "wine cmd /C for /R %i in (*.exe) do %i" exited with 1.

The problem seems with the parsing since if I create a batch file(script.bat)
with:
for /R %%i in (*.exe) do %%i

and afterwards issue a:
wine cmd script.bat

The script is correctly executed.

-- 
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