https://bugs.winehq.org/show_bug.cgi?id=44952
Bug ID: 44952 Summary: Batch with for and if Product: Wine Version: 3.5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: cmd Assignee: wine-bugs@winehq.org Reporter: jonathanbelsewir@yahoo.de Distribution: ---
I have a batch-file:
@echo off for %%i in (test) do ( echo before-if: %%i if 1==1 ( echo true ) else ( echo false ) echo after-if ) :end
I get the following wrong output: before-if: test true
The output should be: before-if: test true after-if