首页 > 解决方案 > 如何在 Windows CMD 中永久设置 PATH?

问题描述

我安装了 OpenSSL 但无法识别。我添加了 env 变量 在此处输入图像描述

在我的 CMD

SET PATH=C:\Program Files\OpenSSL-Win64\bin;%PATH%

它首先出现

echo %Path%
C:\Program Files\OpenSSL-Win64\bin;C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin

但重启后消失。

openssl : The term 'openssl' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

如何永久设置 OpenSSL?在行:1 字符:1

标签: windowspowershellopensslenvironment-variables

解决方案


推荐阅读