https://bugs.winehq.org/show_bug.cgi?id=32679
--- Comment #7 from Qian Hong fracting@gmail.com --- (In reply to Qian Hong from comment #6)
Looks like we need to use a "local ERRORLEVEL" instead of "global ERRORLEVEL" in order to support || and && correctly.
Update: some builtin commands like `echo` does not change ERRORLEVEL, those commands should always be treated as success, we need to change the logic to ignore ERRORLEVEL from previous command when handling these kinds of special builtin commands.