动态设置环境变量
@echo off
set workDir=%~dp0
set PYTHON_HOME=%workDir%\python-3.7.3-embed-amd64
set PATH=%PYTHON_HOME%
rem 配置src目录的父目录
set projectPath=%workDir%\..\..\..\server\
rem 只有策划是用来检查的
set Only_Check=false
python.exe main.py %workDir% %projectPath% %Only_Check% ConfigTable
pause
https://blog.csdn.net/qq_14914623