首页 > 解决方案 > 在 Windows 中使用 shell 脚本附加 PATH 变量中的值

问题描述

我需要编写一个脚本来在 windows 的环境变量中设置 bin 路径。我在这里找到了解决方案Shell script to set environment variables Permanently但是我正在寻找如何将 PATH 变量中的值附加到 windows os 的系统变量中。

spring-boot-cli-2.4.0-bin\spring-2.4.0\bin

我是 shell 脚本的新手。有人可以帮忙吗?谢谢!

标签: windowsbashshellenvironment-variables

解决方案


推荐阅读