[Bug 9530] New: cmd's for command can't handle /f option

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Aug 30 18:20:57 CDT 2007


           Summary: cmd's for command can't handle /f option
           Product: Wine
           Version: CVS/GIT
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: wine-programs
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: dank at kegel.com

I ran into the follow cmd construct today in a real world script:

    for /f %%X in ('foo.exe') do set %%X

The /f ... ('command') option is described here
and it means "run the command in single quotes, then loop over
each word of the output".

(The real script was trying to set environment variables
whose name and value were from stdout of foo.exe.)

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the wine-bugs mailing list