@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 updated successfully! pause>nul exit

编写一个BAT档查询目前所在目录中pythonPython311pythonPython311ScriptspythonPython27pythonPython27Scripts加入系统路径变量

原文地址: http://www.cveoy.top/t/topic/bLBJ 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录