Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图将我的 php 版本从 5.3 升级到 5.6。我删除了旧的 php 5.3 条目并在路径变量中添加了新的 php 5.6 条目。但是为什么当我在命令行中回显 %path% 时,它总是给我两个条目?
好的,问题解决了:我关闭了命令行,然后重新打开了一个新的... echo %path% 按预期工作。