Edit the system environment variables (How to restore?)

Occasional Visitor

I accidentally deleted the path of System Variables (Control Panel\System and Security\System\Advances system settings\Environment Variables\System Variables). 

I wanted to add the path of python27. 

Now, when I run the command line and run python then I am still getting an error('python' is not recognized as an internal or external command, operable program or batch file.)

I don't even know what path I have deleted. 

Is there any way to restore the path which I have deleted?

What's the way to run python in the command line?

 

4 Replies
unfortunatelly, not at all.
What's the problem?

@HotCakeX Sorry, I misread the post. My answer was with respect to the title: "How to restore system environment variables?" and not how to add a known variable.

I was wondering if there is a way to restore system environment variables without resetting (and restarting) the entire system.