添加 Python 3.11 和 2.7 环境到系统路径变量 (BAT 脚本)
@echo off setlocal enabledelayedexpansion
set 'python311=%cd%\python\Python311' set 'python311_scripts=%cd%\python\Python311\Scripts' set 'python27=%cd%\python\Python27' set 'python27_scripts=%cd%\python\Python27\Scripts'
set 'path=%path%;%python311%;%python311_scripts%;%python27%;%python27_scripts%'
echo %path%
pause>nul
原文地址: https://www.cveoy.top/t/topic/ndxj 著作权归作者所有。请勿转载和采集!