rem @echo off setlocal rem Set the path to your virtual environment set VENV_PATH=.\venv314 rem Activate the virtual environment call "%VENV_PATH%\Scripts\activate.bat" rem pyenv-venv activate twitcharchive pip install -r requirements.txt rem Run the desired command in the virtual environment rem Pass username as -u and forward all additional arguments python twitch-archive.py -u %1 %2 %3 %4 %5 %6 %7 %8 %9 rem Deactivate the virtual environment call "%VENV_PATH%\Scripts\deactivate.bat"