blakroku
blakroku

Reputation: 551

Permanent environment variables

I have a problem assessing my advanced settings of my computer, anytime i get to the properties of my computer it freezes and vanishes, I decided to set my path through the command prompt. Though the lines below works. Its just temporal and the path is unset immediately i close the running command prompt,

set path=%path%;C:\python27

I am just wondering why my computer's property panel vanishes.

Any others ways to set the environment variables permanent?

Upvotes: 0

Views: 66

Answers (1)

Ankit
Ankit

Reputation: 6622

try using setx PATH "%PATH%;C:\python27"

Note that u need to close the current cmd window, after executing this command as the changes will reflect in newer instances only.

Upvotes: 1

Related Questions