Accidentally deleted PATH variable

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.
5 answers Last reply
More about accidentally deleted path variable
  1. 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...
  2. 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.
  3. YES! FINALLY!
    Thanks man, I accidentally deleted the path variable and did not know what to do, I searched everywhere but no success, until I came here, THANKS!
  4. Scott2009 said:
    PowerShell; isn't really required, it's just if you have PowerShell installed - It's a optional Microsoft Update.
    Actually PowerShell is always installed - it's a basic part of Windows 7 and as far as I know there's no way to remove it.
  5. I have changed my environment variable(path) of windows 7 to play hitman absolution my window isn't working properly.please give original path of windows 7 as soon as possible.
Ask a new question

Read More

Windows 7