@echo off setlocal EnableExtensions EnableDelayedExpansion set TMP_OUT=%TEMP%\update_check_%RANDOM%.txt python check_new_version.py > "%TMP_OUT%" set EXITCODE=%ERRORLEVEL% if %EXITCODE%==20 ( echo Fehler beim Update-Check goto :END ) if %EXITCODE%==0 ( echo Keine Updates verfuegbar. goto :END ) echo. type "%TMP_OUT%" :END del "%TMP_OUT%" >nul 2>&1 endlocal