cd /d %~dp0 call .venv\Scripts\activate.bat pyinstaller -F --path %~dp0 --icon GCHR.ico gchr2.py copy /Y %~dp0\dist\gchr2.exe P:\GCHR2 pause