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