Tom's Hardware > Forum > Windows 7 > Windows 7 General Discussion > Accidentally deleted PATH variable

Accidentally deleted PATH variable

Forum Windows 7 : Windows 7 General Discussion - Accidentally deleted PATH variable

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

I was trying to edit my PATH environment variable and accidentally deleted it. Is there any way to recover it? If not, is there anyone out there who can tell me what the default path variable should be? I'm afraid to turn off my computer without fixing this as I'm not sure if it will be able to boot up again.

Sponsored Links
Register or log in to remove.

PATH=C:\WINDOWS;C:\WINDOWS\SYSTEM as a System wide environment variable should set you straight.

I'll check my Windows XP x64 VM in a second...

------------------------------ Averaging 7 points per post, since err, I re-joined this mess.
Reply to Scott2009

Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;

That is assuming Windows is installed into C:\WINDOWS\

The last one ;PowerShell; isn't really required, it's just if you have PowerShell installed - It's a optional Microsoft Update.

Any other SysVars you've nuked ? - chuckle.

Feel free to hassle me.

------------------------------ Averaging 7 points per post, since err, I re-joined this mess.
Reply to Scott2009
Tom's Hardware > Forum > Windows 7 > Windows 7 General Discussion > Accidentally deleted PATH variable
Go to:

There are 1249 identified and unidentified users. To see the list of identified users, Click here.

Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them