需要恢复旧的$ PATH设置 [英] Need to recover older $PATH setting

查看:83
本文介绍了需要恢复旧的$ PATH设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚安装了一个应用程序,该应用程序覆盖了我的$ PATH变量...因此,一堆东西将无法工作.在进行完整备份的同时,我希望有一种比还原,获取PATH,再次向前滚动"更简单的方法.

I have just installed an app which overwrote my $PATH variable... so now, a bunch of stuff will not work. While I have a full backup, I am hoping that there is an easier approach than to restore, get the PATH, the "roll it forward" again.

Windows注册表中(或其他任何地方)是否存在存储较旧的$ PATH设置的位置?

Is there a location in the windows registry (or anywhere else) that stores an older $PATH setting?

谢谢, GS

推荐答案

如果有人感兴趣,我找到了答案... 使用REGEDIT,它在 HKEY_LOCAL_MACHINE \ SYSTEM \ ControlSet001 \ Control \ Session Manager \ Environment或 HKEY_LOCAL_MACHINE \ SYSTEM \ ControlSet002 \ Control \ Session Manager \ Environment

If anyone is interested, I found the answer... using REGEDIT, it is under HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment or HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Control\Session Manager\Environment

在我的情况下,它在HKEY_LOCAL_MACHINE \ SYSTEM \ ControlSet002下...

In my case, it was under HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002...

GS

这篇关于需要恢复旧的$ PATH设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆