@echo off setlocal EnableExtensions DisableDelayedExpansion cd /d "%~dp0" set "PYTHONUTF8=1" set "PYTHONIOENCODING=utf-8" set "PYTHONHOME=" set "PYTHONPATH=" if not exist "%~dp0.buildenv\Scripts\python.exe" goto missing "%~dp0.buildenv\Scripts\python.exe" "%~dp0win7\build.py" build if errorlevel 1 goto failed echo. echo EXE is in the new dated subfolder under dist. See BUILD_INFO.json. pause exit /b 0 :missing echo Run 01_install_env.cmd successfully first. :failed echo BUILD FAILED. Check the messages and build log. Keep the old server unchanged. pause exit /b 1