Can the %PATH% be recovered without any Restore Points?

1

I just found out that my PATH system variable in Windows is nearly empty (it has only the path to the ExtFS tool - I installed that one recently , and I'm guessing it overwrote the Path instead of appending to it). I came across this answer on searching, but I seem to have no previous versions or restore points to recover from (the Open button has no arrow mark next to it either).

I had quite a bunch of programs in PATH, and I'd hate to have to find them out one by one by encountering weird errors every now and then. Is there a way of restoring the PATH variable in this case? Any other place that this information is stored in?

sundar - Reinstate Monica

Posted 2015-02-20T10:33:01.650

Reputation: 1 289

If you have no restore points then your only choice is to install the software that added those variables to the path again. – Ramhound – 2015-02-20T11:57:35.657

@Ramhound I was afraid of that, thanks. I'm considering writing a script that traverses the "Program Files" folders and creates a PATH value pointing to all programs' paths, but ./bin subfolders and such idiosyncracies present a nuisance. – sundar - Reinstate Monica – 2015-02-20T15:48:31.650

There is a limit to the length of the PATH variable. You should only add those you actually need. – Ramhound – 2015-02-20T16:25:00.757

Answers

0

I had the same pb after installing oracle,it also overwrote all the strings in the system path and since I have no restore point F reinstalled Windows 10 and it didnt work,Finally I just uninstalled oracle and everything came back.

salah

Posted 2015-02-20T10:33:01.650

Reputation: 1

Please read the question again carefully. Your answer does not answer the original question. OP has not said he is using Oracle. – DavidPostill – 2017-01-15T19:18:10.240

1It might have been a relevant answer if the same behaviour had occurred due to installing Oracle instead of ExtFS, since the basic problem is similar, but the rest of the answer doesn't make sense. @salah Did you reinstall Windows 10 after you found the PATH nearly emptied? If so, how could you then go back and uninstall Oracle? And I find it hard to believe that Oracle stored up the PATH during its installation, saved that information for use during uninstallation, and restored the value during uninstall. That's the only way "everything came back" could work, but it sounds unlikely. – sundar - Reinstate Monica – 2018-05-08T10:55:13.957