How to recover deleted PATH variable in XP?

Dear Experts,

I just did a very bad thing.  I accidentally deleted my entire PATH variable, and then rebooted my machine.  I'm on XP.  I've tried system restore, and it's not working.

Is there any way I can recover?  Does XP stash a copy of the PATH variable somewhere?

HELP!

Thanks,
BrianMc1958
BrianMc1958Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jonez176Commented:
Did you delete the path variable from the User variables or System variables?

Try a returning to a system restore point.
0
LeeTutorretiredCommented:
The PATH environment variable is stored in the registry by XP, but if you rebooted the system after deleting the PATH, then I would expect it to be gone there too.  See this page for the info:

http://vlaurie.com/computers2/Articles/environment.htm
Environment Variables in Windows XP
0
oBdACommented:
Start regedit, check for the "Path" value in HKLM\System\ControlSet<xx>\Control\Session Manager\Environment; replace <xx> with all numbered ControlSet entries that are present (no need to check CurrentControlSet, it's one of the ControlSetxx keys, and you won't find anything under there.).
These are the "Last Know Good" configurations; if you're lucky, there's still one left that has a path variable.
If not, the bare minimum required is this:
C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
BrianMc1958Author Commented:
Thanks!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows XP

From novice to tech pro — start learning today.