[Bug 45729] New: cmd's REM evaluates |

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Aug 29 11:50:13 CDT 2018


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

            Bug ID: 45729
           Summary: cmd's REM evaluates |
           Product: Wine
           Version: 3.0.2
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: cmd
          Assignee: wine-bugs at winehq.org
          Reporter: paleozogt at gmail.com
      Distribution: ---

Created attachment 62164
  --> https://bugs.winehq.org/attachment.cgi?id=62164
test.bat

cmd's REM seems to evaluate "|", which can cause problems.

For example, put this in "test.bat" in an empty directory:
> @echo off
> for /f %%i IN ('dir "%CD%" /b /on') DO (
>    @REM foo|bar
>    @echo %%i
>)

When run on Windows 10:
> >test.bat
> test.bat

When run with Wine's cmd:
> >test.bat
> Can't recognize 'bar' as an internal or external command, or batch script.
> test.bat

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