[Bug 52107] %ERRORLEVEL% shall not be reset when setting an environment variable in a batch file

WineHQ Bugzilla wine-bugs at winehq.org
Sun Nov 28 11:14:08 CST 2021


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

--- Comment #3 from Florian Eder <others.meder at gmail.com> ---
The CMD seems to distinguish between batch mode and interactive mode in this
case. In batch mode ERRORLEVEL is reset to 0, in interactive mode it is not.

This seems to be consistent since (at least) Windows XP. Probably a bug in the
Windows CMD that only applies to one of the two modes?

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