CMD продолжитесь после активации Вен.

@echo off
if not exist "%~dp0venv\scripts\activate" (
	echo activate not found
	pause > nul
	goto :eof
)
%comspec% /C "%~dp0venv\scripts\activate"
pip freeze > requirements.txt
echo requirements.txt created
pause > nul
Bad Bear