ファイル:test.bat
echo on
cd C:\Users\username\Documents\test\
call C:\Users\username\anaconda3\Scripts\activate.bat
call activate Envname
title title_name
python test.py
pause
usernameをあなたのユーザー名に変更。実行したいpythonファイルのフォルダ。
usernameをあなたのユーザー名に変更
Envnameをanacondaで作ったEnvironment名に変更
実行したいpythonファイル名に変更