Add/edit PATH environment variable in Windows 10

preview_player
Показать описание
In this tutorial, I share how to add to the PATH environment variable in Windows 10. For this example, I'm adding Python 3 to the PATH so that I may begin writing code (and executing it) using Python 3 as I had forgotten to add Python to the PATH when I installed it.

The method shared in this video can be used regardless of what you're adding to your PATH in Windows 10.

To add a directory to the PATH environment variable on Windows 10, you can follow these steps:

Right-click on the Start button and select "System" from the context menu.
In the System Properties window, click on the "Advanced" tab.
Click on the "Environment Variables" button at the bottom of the window.
Under "System Variables", scroll down and find the "Path" variable, and click on the "Edit" button.
In the Edit Environment Variable window, click on the "New" button and enter the path of the directory you want to add. Press ok.
Click on "OK" to close the Edit Environment Variable window, then "OK" again to close the Environment Variables window.
Click "OK" to close the System Properties window.
You may need to reboot your computer for the changes to take effect.

Alternatively, you can also use the command line to edit the PATH variable by running the following command:

setx PATH "%PATH%;C:\path\to\directory"
Edit "C:\path\to\directory" to be the path of the directory you want to add to the PATH variable.

Thank you for watching, I hope you've found this video helpful. If you have any questions, feel free to ask in the comments below.

#Windows10 #technology #tutorial
Рекомендации по теме
Комментарии
Автор

I want to thank you for producing a very clear video that's easy to listen to and doesn't have a bunch of obnoxious music running in the background. Your instructions are helpful and easy to understand.
THANK YOU!!!👍👌😉💕💓

catman
Автор

Very Nice Tutorial, Sir.Needs More From You.

mithunchandrasaha
Автор

And now, if you want to execute your script?

francois-xaviermenage
Автор

I am struck, there is no OK option in the environment variable menu? someone, please help?

vaibhavsingh
Автор

i have legion home screen so cn you make tutoriol with that or only explain how can i do that, please please please. i need to know that :(

jonasgustavsson
Автор

You have the same voice as Felicia Day

philipgelinas
Автор

Hi, Thank you. I changed path and added new path variable and still not happening. What should I do? Btw, I did for mysql. Thank you.

sujatashroff
Автор

Summed version of Tutorial:
Open Control Panel > System and Security > System > Advanced System Settings > Environment Variables > System variables > PATH > Edit

zeeayyy
Автор

Amazing, how profoundly juxtaposed my knowledge is.
My fist ASD obsession was of course EE, got so obsessed I was building advanced circuits by the time I was 10, (binary arithmetic units, read/write encoders, decoders.
frequency divider's for timing circuits, tesla coils, etc.
But for some reason, even at age 30. I still need basic tutorials on anything code related, I can literally copy past code that is simple as it can get, make 0 changes and throw 9000+ errors.
path is set, program still wont read it, says python should come with pip3, but nothing in scripts folder. trying to DL it via commands just throws errors.

Like I said, my knowledge is profoundly juxtaposed. one field I was at college level at age 10 thinking I was some smart know it all, lol. another relevant field my brain refuses to let me get past babies first hello world before I trip down the preverbal flight of stairs, cascading down where I land in a pit of legos and 4017 decade counters all pin side up. tearing my body to pieces. All the while Alex Terrible is down there chortling at me for my failures to comprehend basic software, code related items. (catches breath)

TheMookie
Автор

I tried to get my python to read a script but it just tried to strangle me instead. Oh... and it ate my cat. Then it escaped out the window.

StupidRobotFightingLeague
Автор

thank u so much, very useful and helpful contact keep up, u really help us

DIYYY
Автор

Thaks you so much, now the coding program that i'm installing in my pc can recognize c++ for run the code 😀

davidavila
Автор

Dude, I got asmr from this to the point it was hard to get it done first try 😂

Dansuperfly
Автор

sometimes a soothing voice is all I needed to understand this technobabble.

My thanks.

Noxims
Автор

Oh no i click new in the top of system variables.

clarx
Автор

thank you so much. love from istanbul...

EMO-mftx
Автор

I am using Windows 10.
I Right-click on the Start button and select "System"
But then I cannot find the "Advanced" tab. What am I doing wrong?
Thank you.

chiron
Автор

but the old path is removed i guess????

hemantsharma
Автор

[Running] cd VS Code\Scripts\" && g++ hello.cpp -o hello && VS Code\Scripts\"hello
'g++' is not recognized as an internal or external command,
operable program or batch file.


I get the message above. Programme doesnt work. Can you help?

azstube
Автор

Did you just overwritten all the other variables under name path? If so I have probably done the same.. :(

YuraD