Тёмный

Windows Command Line Tutorial - 5 - PATH Variable 

thenewboston
Подписаться 2,7 млн
Просмотров 365 тыс.
50% 1

Опубликовано:

 

21 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 200   
@lassipls
@lassipls 8 лет назад
dude none of my teachers ever told us what the PATH actually meant when we started working with Java... They just told us "Just write this in here and stuff will happen ayy lmao!!"
@Ahrceon
@Ahrceon 8 лет назад
lol! In the beginning he called us lassies android ur name is Lassi (I think). Is this all a coinsidence? I think not!
@Ahrceon
@Ahrceon 8 лет назад
lol! In the beginning he called us lassies android ur name is Lassi (I think). Is this all a coinsidence? I think not!
@tanaykamath1415
@tanaykamath1415 4 года назад
same lol
@vinniciusrosa8284
@vinniciusrosa8284 4 года назад
SAME!
@b-82-brijgopaldalmia82
@b-82-brijgopaldalmia82 4 года назад
yes same happened with me when i started working with python.
@dakloos316
@dakloos316 3 года назад
Tip: remember to close your terminal and reopen it so that the changes you made in the PATH variable are set in place.
@黄贞旭
@黄贞旭 Месяц назад
thank you, very helpful
@reecemcclintock2294
@reecemcclintock2294 3 года назад
5 years later and this is still helping people. Thanks!
@skeyturr
@skeyturr 3 года назад
path is like a web browser you bookmark a webpage and then it appears in your bookmark tray. Then you can access bookmarks from any page, pretty neat.
@pacrii
@pacrii 8 лет назад
Reminder: Make sure not to add spaces in the PATH and separate paths with a semicolon (;)
@lechi_2002
@lechi_2002 8 лет назад
I didn't know that. Thanks!
@Anthony-k4n8o
@Anthony-k4n8o Год назад
I’ve been trying to find the right information on the Windows command terminal for about a month.I got hit pretty hard and I’m still trying to put my computer back together. I’m new to coding but I’m thinking that your tutorials will be very helpful for me.Just wanted to give thanks,you have no idea how much you have helped me.
@lechi_2002
@lechi_2002 8 лет назад
now the first Java tutorial makes sense
@erkins8818
@erkins8818 7 лет назад
can you explain a bit
@saeedtashakkori5196
@saeedtashakkori5196 3 года назад
thank you so much, I learn in your classes more than all my semester,
@mateja176
@mateja176 6 лет назад
I've been seeking this piece of information for days now and it took me just 3 minutes to resolve the issue thanks to your help... Thanks a million!!!
@ForsakePariah
@ForsakePariah 5 лет назад
I'm in a masters program and I didn't know how to do this. educationSystem == broken
@aaryanvaidya3501
@aaryanvaidya3501 4 года назад
Boolean Value= True
@vinniciusrosa8284
@vinniciusrosa8284 4 года назад
Because courses just want to make money. They do not really want s to teach us.
@lennydagostini5845
@lennydagostini5845 3 года назад
cout
@realnice3672
@realnice3672 3 года назад
@@lennydagostini5845 where is C++ standart library and standart function lol
@alexmercer7970
@alexmercer7970 3 года назад
True
@bsheuma
@bsheuma Год назад
I've never understood what the heck PATH was until now. Thank you!
@marcolaos5568
@marcolaos5568 4 года назад
I've watched your 3 first tutorial. Everytime i've learned something new. Thanks
@ksameerkapoor1214
@ksameerkapoor1214 3 года назад
i don't have words. what to say. today i learn alot from your video. i am learning css and Java in that course my mentor was using command prompt but i was not able to understand. but thanks dear for a such a fantabulous video. hats off to you. love you.
@codeplayground5579
@codeplayground5579 5 лет назад
one of the awesome tutorial I have ever heard. Thanks. You cleared my 10 years old doubt in 10 minutes.
@kennyofatoboiyo7447
@kennyofatoboiyo7447 3 года назад
I just figured it out! I think it's different in windows 10 in windows 10 you go to advanced system properties and then you edit the system environment variables not the user variables and you just type the shortcut version such as " Program Files\Windows Media Player" you can use spaces just fine and don't need to use a semi colon after the shortcut. Just save it and it will be there in the Path next time you're in cmd.
@MPRNPN
@MPRNPN 6 лет назад
If modifying the PATH variable, make sure to restart cmd otherwise it will not show or work.
@louiversal_
@louiversal_ 5 лет назад
Thank you so much, i got stuck
@govindkothari7989
@govindkothari7989 5 лет назад
thanks
@aryazeref
@aryazeref 3 года назад
THANKS
@symphoniesofthesea
@symphoniesofthesea 5 лет назад
tommorow is my computer practical term 1 and your videos helped me a lot. Thanks!
@amunet9245
@amunet9245 Год назад
Finally i had so much problems as a new programmer with this windows path when i try to set up something now i understand why
@dcsquad430
@dcsquad430 3 года назад
Hi Thenewboston, thank you so much for providing these tutorials. You are a life saver.
@brianwestbye9015
@brianwestbye9015 3 года назад
Just a heads up for some people. When I tried this; the path variable was listed under system variables not user variables.
@passion2peace
@passion2peace 8 лет назад
Hey Bucky, do you have a job coding, if so what language do you primarily code in ? Which language do you suggest focusing on to be the most flexible and welll-paid programmer possible ?
@InstigationMex95
@InstigationMex95 8 лет назад
this channel never replies to comments so maybe try contacting him another way or ask some other source
@InstigationMex95
@InstigationMex95 8 лет назад
+wellsandlava He's a phenomenon of a knowledge source and conveyer. I guess it's at the cost of making so much content, similar to Khan from Khan academy.
@TomiFuentes
@TomiFuentes 8 лет назад
+Chris Ridgeway He is a Bot
@passion2peace
@passion2peace 8 лет назад
+draxProgrammer who is
@TomiFuentes
@TomiFuentes 8 лет назад
+Chris Ridgeway bucky, because he knows a lot of codes and languages
@IohsmdIglomdrnIjsmsIhafmIafmli
Now this is where shit gets crazy
@vojtatesar9239
@vojtatesar9239 2 года назад
If you want to travel between disks with this absolute path, you type the destination (e.g.: cd D:\Documents\Photos) but it won't move immediately, you have to travel to the disk ( cd D: ) to get you there :)
@chaitanyag351
@chaitanyag351 Год назад
Thanks a lot brother, i was trying and it wasn't making any sense how it was working.....now i understand
@stoicism-to2xm
@stoicism-to2xm 8 месяцев назад
no way you just taught me what PATH Variable was lmao
@gueyenono
@gueyenono 2 года назад
If you're looking for a longer tutorial, check out: ru-vid.com/group/PL9uWcD-0hF-DPVqogXIcSSRh3ndx5ODvL
@eddyalex2396
@eddyalex2396 3 месяца назад
i have a quick question: you said you can check the windows path to to provide an alternative route to find the tshark.exe but lets say that tshark executable was not there how would you go about it ?
@tymothylim6550
@tymothylim6550 3 года назад
Thank you very much for this video :) It was very helpful and helped me understand how path variables are used.
@noir66146
@noir66146 4 года назад
they never use a mouse in james bond movies , NOW i can feel more legit LOL
@kennyofatoboiyo7447
@kennyofatoboiyo7447 3 года назад
I just tested this and even when I have directories with really long names I don't have to use the quotation marks?? Did Windows update this recently?
@azad8000
@azad8000 3 года назад
i tested that too ... i think that was for old windows
@vinniciusrosa8284
@vinniciusrosa8284 4 года назад
This tutorial is VERY helpful! I'll tell my teacher about your video. Thanks.
@diegobaca2222
@diegobaca2222 8 лет назад
So is the PATH a directory for your pc to check inside and look for the executable, or is it possible files to execute if they match?
@JossinJax
@JossinJax 3 года назад
Omg thank you for explaining this simply! I finally get it!
@nishantjha8639
@nishantjha8639 3 года назад
I couldn't understand how you executed the path command. Kindly help!
@kennyofatoboiyo7447
@kennyofatoboiyo7447 3 года назад
I'm so lost on this video say I want to be able to quickly access windows media player which path is in C:\Program Files\Windows Media Player\wmplayer.exe. How do I actually create the shortcut? You skipped a step here I feel and didn't explain how you actually get cmd to know in the future where to jump to? I tried adding the Windows Media Player folder into the environment variable and even still when I type " wmplayer" or "wmplayer.exe" it doesn't recognize where to go? This is using Windows 10?
@Sskm7565
@Sskm7565 4 года назад
Thanks so much, it's all very helpful command and I request to you please make more video on command line
@ashikabdullah3050
@ashikabdullah3050 8 лет назад
Dear Bucky Can you please describe more about "PATH"..Sometimes I write some path command and I just don't find the exact executable from it, so it doesn't execute.. Really eager to hear from you...Thanks for the amazing Topic and its videos...
@yingdongzhai6508
@yingdongzhai6508 5 лет назад
Hi does the path approach only works for executable files? I tried to use this approach for a pdf file and it says : "filename.pdf" isn't recognised as an internal or external command. Thanks
@thearticle9880
@thearticle9880 4 года назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-ADh_OFBfdEE.html I think it will help you will understand what is path and why .exe get executed directly and how commend line commend works.
@xigong3009
@xigong3009 3 года назад
So path allows windows to check certain directories if it does not find the executable in my current directory.
@saliyarajanayake8908
@saliyarajanayake8908 4 года назад
Hey bucky , please tell me a way to download wireshark ! Because I tried to do it many times. But it dosen't working properly
@ameerali_
@ameerali_ 3 года назад
The path functions not worked for me, i tried by copy pasting an exe file and tried , by PATH , its not show up
@pedroornelas9771
@pedroornelas9771 6 лет назад
hi i have i missunderstanding when i run the "C:\ Program Files\Wireshark" doesnt work :/ can you help?
@jumokehelen2598
@jumokehelen2598 3 года назад
It's not a command it's a absolute path he created
@nickstanford1922
@nickstanford1922 3 года назад
still helping people. thank you
@internet3224
@internet3224 3 года назад
bro I have watched bunch of tuts from your website and bro you are so natural , I have learn natural way of learning :P from the way you teach us to learn Bucky is awesome and amazing guys and he love bacon a lot so please sent him ha bacon gift :P :P
@farahmohumad5355
@farahmohumad5355 4 года назад
this guy really explained well
@_N_E_E_R_A_J_
@_N_E_E_R_A_J_ 6 лет назад
what does the program 'tshark' do?
@durrhurr55
@durrhurr55 6 лет назад
GAMERS FOREVER tcp capture for wireshark? Or something he edited himself ? Idk I'm still too in my skiddie phase to know
@cynido
@cynido 5 лет назад
it bites
@andrell1206
@andrell1206 2 года назад
this is great great stuff 🤓 . learning a lot . thank you
@learn-pc5878
@learn-pc5878 2 года назад
thank you brother بارك الله فيك
@steveli3163
@steveli3163 6 лет назад
Thanks for teaching, very helpful. But I got a question, by using the command " rmdir /s xxxxx", i delete the file. and I can not find it in the "recycle bin". What if I did it by mistake, how can I find my file back?
@redcrimson718
@redcrimson718 6 лет назад
It doesn't go to Recycle Bin. When you delete things from command line,once it's gone, it's gone. You can't get it back.
@tejareddy5732
@tejareddy5732 5 лет назад
After changing the path make sure that u have to restart cmd unless it won't take that changes..!
@homemetax
@homemetax 6 лет назад
It would really be appreciated if some time stamps could be added to description, for when we need to review some information, Thank you for everything, made understanding windows basics so much easier for me :)
@jasonwang7650
@jasonwang7650 3 года назад
i never knew the winter soldier knew how to use computers
@Nail-hammer-man
@Nail-hammer-man 4 года назад
is not recognized as an internal or external command, operable program or batch file. I'm getting this again and again. Even after using path. Anyone can help me here?
@gufyufdyul5372
@gufyufdyul5372 5 месяцев назад
paths dont work for me , typing the name of the program or path as well do not get recognised how to resolve this issue
@MrEpic490
@MrEpic490 6 лет назад
Thanks for these videos they are the best one
@malluk4127
@malluk4127 5 лет назад
In Windows 10, PRESS ALT+x on your keybord, Click System, Click on About, Click on System Info on the right corner of page. Now, click on Advanced System Setting on left side of page.
@jeremywadkins5852
@jeremywadkins5852 7 лет назад
Im a little confused because i type paths to things with spaces all the time and never need the quotation marks. works fine.
@rj00a
@rj00a 8 лет назад
Oh no... I accidentally cleared my PATH. Don't ever type "PATH ;" in the command prompt haha
@logancressy2259
@logancressy2259 4 года назад
Sleepi now I gotta try
@rajatgoyal8162
@rajatgoyal8162 6 лет назад
Sir please explain me about path and what is the use of this command?
@karimmuhammad7051
@karimmuhammad7051 3 года назад
BookMark: 4:20 We can say the variable path is a shortcut for CMD and it is known
@joshyboy6299
@joshyboy6299 3 года назад
does anyone know what is the original directory? The directory that you automatically use when you open the command prompt for the first time
@werty6528
@werty6528 3 года назад
I think what you're referring to is just called "Windows". I noticed when I open my CMD it usually looks something like C:\Windows\-- -- -- etc.
@vidsscreen
@vidsscreen 3 года назад
What does TSHARK AND WIRE SHARK MEAN OR DO WITH EACH OTHER
@offthepath7958
@offthepath7958 6 лет назад
Thank you so very much for these!
@misamagana2875
@misamagana2875 3 года назад
Do you know a command to open a plato file in the command prompt?
@nikkei325i
@nikkei325i 8 лет назад
I take it that the PATH variable is a global variable where you can set the file path to a program where you can easily access it by just typing in the name of the program e.g. tshark. Please correct me if I am wrong.
@RameenFallschirmjager
@RameenFallschirmjager 5 лет назад
Bucky, you are the best person who I have ever known in my life. where are you man? I miss you big time. I wish we could see more from you. I wish you the best wherever you are "the hero of free knowledge", you are one of a kind.❤
@lycan2494
@lycan2494 5 лет назад
doesn't work : / i typed enter with the executable file in the prompt and it just opens the file
@maryharbour7991
@maryharbour7991 5 лет назад
thanks Boston, great stuff
@evelynnveleni
@evelynnveleni 2 года назад
I am having trouble with the path command I can seem to make it work like in your video.
@angelicamatch211
@angelicamatch211 6 лет назад
You set it in user variable. ...I seem to have an issue running pip from anywhere. ...I have the path of one of my pip and python 3.5 in system variable and I believe not in user variable. ...so anyway it doesn't work. ...so I guess I need to add the pip path to user variable ??? Thanks
@CorrosiveH2O
@CorrosiveH2O 6 лет назад
alright that's nice and all, but how do I move directories?
@ipaddress3127
@ipaddress3127 2 года назад
Good work Bucky 👏
@harishovandkar1708
@harishovandkar1708 2 года назад
path command is not working for me .. i am using powershell 7.0
@jjeon9850
@jjeon9850 7 лет назад
Why don't the double quotes appear in some computers?
@CleymanYT
@CleymanYT 2 года назад
Hope someone sees this question after all these years. I always wondered why you had to add these weird path variables when installing a programming language, I always simply did it because the tutorial told me to lol. Finally, I understand what the path variable does, so my follow up question regarding programming languages/compilers is: If we wouldn't include the programming language in the path variables, would we not be able to run python programs or c++ compiler etc from the cmd prompt, because windows wouldn't recognize it as a proper command? Is that the reason we have to add them to the path variables? (I never really dealt with the command prompt before and always executed via the IDE and I suppose for that theoretically it would be irrelevant whether we've added it to the path variable or not, right?) If you read this, this series still is very helpful up to this day, thanks a lot :)
@datplant4188
@datplant4188 3 года назад
How do i permanently add something to my path through the cmd?
@karthikeyapassupathy6766
@karthikeyapassupathy6766 5 лет назад
my path address is listed in the user variable will i still be able to use it
@chiragr1336
@chiragr1336 4 года назад
Video request: please also explain environment variables.
@abhisekhkumar4948
@abhisekhkumar4948 3 года назад
Dude..! You are my angel..!
@monickverma9637
@monickverma9637 5 лет назад
Can i edit the path frm cmd?
@user-xm7fx6ud5s
@user-xm7fx6ud5s 5 лет назад
Yes
@NilakshMalpotra
@NilakshMalpotra 7 лет назад
I tried it but the directories I add don't show up in path :(
@klonanbrown2807
@klonanbrown2807 4 года назад
Thanks bucky, very cool
@bachirhaouache3951
@bachirhaouache3951 5 лет назад
can u provide me with how to add to the path variable using cmd ??
@net200777
@net200777 7 лет назад
I guess I should have watched all the way to the end but OP failed to include the CMD variable to use PATH for example, C:\>path "Program Files"\Wireshark is what I used to make it work. Add Path to CMD then type directory. Thanks good day.
@sunnyhours84
@sunnyhours84 7 лет назад
5:40 - 5:50
@smashmouth751
@smashmouth751 6 лет назад
This does not work for me. I type path and then spotify.ink and it says something about a batch file.
@user-xm7fx6ud5s
@user-xm7fx6ud5s 5 лет назад
spotify.lnk not ink LNK
@jeffthekillerfan9419
@jeffthekillerfan9419 8 лет назад
200th like, helped you out there :)
@wiLLow-nl6tq
@wiLLow-nl6tq 6 лет назад
i don't have wireshark-do you install it?
@swallowedinthesea11
@swallowedinthesea11 6 лет назад
It's nothing. Likely a game or something else.
@EncikSejati
@EncikSejati 8 лет назад
Do we need to run the exe first then we can use path lol im noob
@OneShotMan222
@OneShotMan222 8 лет назад
That's a badass processor
@RodrigoVieiraEufrasiodaSilva
@RodrigoVieiraEufrasiodaSilva 8 лет назад
Hello is the first time I will do my review on this channel, first I want to congratulate him for this video tutorial, from what I realized in the example shown my reminded the Linux 'Alias' is it? Sorry for all, do not speak English, I am using Google Translator
@ajay000003
@ajay000003 7 лет назад
if you don't know english than how the hack you understand his tutorials??
@vahid6418
@vahid6418 2 года назад
Very informative!
@799lipe
@799lipe 4 года назад
Does it work with python files?
@hieuvukhongvui
@hieuvukhongvui 3 года назад
Still looking for the burp 😉
@sharkdavid
@sharkdavid 5 лет назад
Very good info here!
@nouralkhabaz3567
@nouralkhabaz3567 4 года назад
is it same as sidraa user system ???????
@notanenglishperson9865
@notanenglishperson9865 2 года назад
HOW TO ADD TO PATH FROM THE CMD
@everyoneelsebutyou
@everyoneelsebutyou 7 лет назад
THank YOU my dude!
@kennyxd3756
@kennyxd3756 4 года назад
My head blew up
@krishnapuli412
@krishnapuli412 6 лет назад
Does mouse right click menu options will work on cmd for windows 10??
@outofusernames9175
@outofusernames9175 5 лет назад
How do i edit the path ?
@toughman2013
@toughman2013 Год назад
tshark doesnt work for me
Далее
#kikakim
00:17
Просмотров 8 млн
7 Amazing CLI Tools You Need To Try
18:10
Просмотров 367 тыс.
Secret File Extensions in Windows
17:14
Просмотров 57 тыс.
7 Essential Command Line Tools (2022)
9:12
Просмотров 217 тыс.
Switching to Linux: A Beginner’s Guide
20:22
Просмотров 117 тыс.
BASH scripting will change your life
14:18
Просмотров 1 млн
#kikakim
00:17
Просмотров 8 млн