CMD 2019-08-30 windows Local environment1234567891011# list all environment variables > set > echo %PATH%## 添加环境变量# batch文件中, 当前脚本的目录> SET "SCRIPT_DIR=%~dp0"> SET "PATH=%SCRIPT_DIR%\x64/vc14/bin;%PATH%"# helpset /? system environment variable1234567setx /m <Variable> <Value>## append content### cmdsetx /M PATH "%PATH%;<path to add>"### powershellsetx /M PATH "$Env:PATH;<path to add>"