Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Need to recover older $PATH setting

Tags:

path

recover

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.

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

Thanks, GS

like image 954
user1009073 Avatar asked Oct 31 '11 16:10

user1009073


1 Answers

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

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

GS

like image 98
user1009073 Avatar answered Sep 21 '22 11:09

user1009073