Windows Command Line Tutorial - 5 - PATH Variable

Поділитися
Вставка
  • Опубліковано 26 січ 2025

КОМЕНТАРІ • 201

  • @reecemcclintock2294
    @reecemcclintock2294 3 роки тому +9

    5 years later and this is still helping people. Thanks!

  • @dakloos316
    @dakloos316 4 роки тому +57

    Tip: remember to close your terminal and reopen it so that the changes you made in the PATH variable are set in place.

    • @黄贞旭
      @黄贞旭 4 місяці тому

      thank you, very helpful

  • @lassipls
    @lassipls 8 років тому +178

    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 років тому +3

      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 років тому +1

      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 роки тому +1

      same lol

    • @vinniciusrosa8284
      @vinniciusrosa8284 4 роки тому

      SAME!

    • @b-82-brijgopaldalmia82
      @b-82-brijgopaldalmia82 4 роки тому +1

      yes same happened with me when i started working with python.

  • @Anthony-k4n8o
    @Anthony-k4n8o Рік тому +1

    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.

  • @jacktapping
    @jacktapping 2 місяці тому

    that whole path part was great iv used it be for with the GUI when i was in UNI but no one ever really told me what it was, and you explanation made it so simple

  • @mateja176
    @mateja176 6 років тому +2

    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!!!

  • @lechi_2002
    @lechi_2002 9 років тому +61

    now the first Java tutorial makes sense

    • @erkins8818
      @erkins8818 8 років тому +3

      can you explain a bit

  • @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.

  • @marcolaos5568
    @marcolaos5568 4 роки тому +1

    I've watched your 3 first tutorial. Everytime i've learned something new. Thanks

  • @pacrii
    @pacrii 9 років тому +61

    Reminder: Make sure not to add spaces in the PATH and separate paths with a semicolon (;)

    • @lechi_2002
      @lechi_2002 9 років тому +1

      I didn't know that. Thanks!

  • @codeplayground5579
    @codeplayground5579 5 років тому +2

    one of the awesome tutorial I have ever heard. Thanks. You cleared my 10 years old doubt in 10 minutes.

  • @bsheuma
    @bsheuma Рік тому

    I've never understood what the heck PATH was until now. Thank you!

  • @saeedtashakkori5196
    @saeedtashakkori5196 3 роки тому +2

    thank you so much, I learn in your classes more than all my semester,

  • @ForsakePariah
    @ForsakePariah 5 років тому +93

    I'm in a masters program and I didn't know how to do this. educationSystem == broken

  • @skeyturr
    @skeyturr 4 роки тому +19

    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.

  • @kennyofatoboiyo7447
    @kennyofatoboiyo7447 3 роки тому +9

    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 років тому +42

    If modifying the PATH variable, make sure to restart cmd otherwise it will not show or work.

  • @randallvargas4457
    @randallvargas4457 2 місяці тому

    Nice to know where to find the PATH variable - thanks!

  • @dcsquad430
    @dcsquad430 3 роки тому

    Hi Thenewboston, thank you so much for providing these tutorials. You are a life saver.

  • @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

  • @brianwestbye9015
    @brianwestbye9015 3 роки тому +5

    Just a heads up for some people. When I tried this; the path variable was listed under system variables not user variables.

  • @vojtatesar9239
    @vojtatesar9239 2 роки тому +4

    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 2 роки тому

      Thanks a lot brother, i was trying and it wasn't making any sense how it was working.....now i understand

  • @noir66146
    @noir66146 5 років тому +18

    they never use a mouse in james bond movies , NOW i can feel more legit LOL

  • @stoicism-to2xm
    @stoicism-to2xm 11 місяців тому

    no way you just taught me what PATH Variable was lmao

  • @IohsmdIglomdrnIjsmsIhafmIafmli
    @IohsmdIglomdrnIjsmsIhafmIafmli 7 років тому +7

    Now this is where shit gets crazy

  • @vinniciusrosa8284
    @vinniciusrosa8284 4 роки тому

    This tutorial is VERY helpful! I'll tell my teacher about your video. Thanks.

  • @tymothylim6550
    @tymothylim6550 3 роки тому

    Thank you very much for this video :) It was very helpful and helped me understand how path variables are used.

  • @JossinJax
    @JossinJax 4 роки тому

    Omg thank you for explaining this simply! I finally get it!

  • @kennyofatoboiyo7447
    @kennyofatoboiyo7447 3 роки тому +2

    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

  • @jasonwang7650
    @jasonwang7650 3 роки тому

    i never knew the winter soldier knew how to use computers

  • @nickstanford1922
    @nickstanford1922 3 роки тому

    still helping people. thank you

  • @nishantjha8639
    @nishantjha8639 4 роки тому +2

    I couldn't understand how you executed the path command. Kindly help!

  • @Fernandez218
    @Fernandez218 2 місяці тому

    so for path, you can't just type in 'C:\' and then type in the executable. it seems like you have to be one level above in the path of the executable. for example, you have to have a path for 'Bucky' if the file executable is in there. You wouldn't be able to do the executable in Bucky if the path only had 'C:\' ?

  • @farahmohumad5355
    @farahmohumad5355 4 роки тому

    this guy really explained well

  • @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

  • @xigong3009
    @xigong3009 3 роки тому

    So path allows windows to check certain directories if it does not find the executable in my current directory.

  • @andrell1206
    @andrell1206 2 роки тому

    this is great great stuff 🤓 . learning a lot . thank you

  • @tejareddy5732
    @tejareddy5732 6 років тому +1

    After changing the path make sure that u have to restart cmd unless it won't take that changes..!

  • @jeremywadkins5852
    @jeremywadkins5852 8 років тому +2

    Im a little confused because i type paths to things with spaces all the time and never need the quotation marks. works fine.

  • @karimmuhammad7051
    @karimmuhammad7051 3 роки тому

    BookMark: 4:20
    We can say the variable path is a shortcut for CMD and it is known

  • @ashikabdullah3050
    @ashikabdullah3050 9 років тому +2

    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...

  • @passion2peace
    @passion2peace 9 років тому +11

    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 9 років тому +3

      this channel never replies to comments so maybe try contacting him another way or ask some other source

    • @InstigationMex95
      @InstigationMex95 9 років тому +4

      +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 9 років тому +4

      +Chris Ridgeway He is a Bot

    • @passion2peace
      @passion2peace 9 років тому

      +draxProgrammer who is

    • @TomiFuentes
      @TomiFuentes 9 років тому +1

      +Chris Ridgeway bucky, because he knows a lot of codes and languages

  • @RameenFallschirmjager
    @RameenFallschirmjager 5 років тому +1

    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.❤

  • @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?

  • @eddyalex2396
    @eddyalex2396 7 місяців тому

    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 ?

  • @Sskm7565
    @Sskm7565 4 роки тому

    Thanks so much, it's all very helpful command and I request to you please make more video on command line

  • @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

  • @ipaddress3127
    @ipaddress3127 2 роки тому

    Good work Bucky 👏

  • @rajatgoyal8162
    @rajatgoyal8162 6 років тому +1

    Sir please explain me about path and what is the use of this command?

  • @evelynnveleni
    @evelynnveleni 2 роки тому

    I am having trouble with the path command I can seem to make it work like in your video.

  • @MrEpic490
    @MrEpic490 6 років тому

    Thanks for these videos they are the best one

  • @learn-pc5878
    @learn-pc5878 3 роки тому

    thank you brother بارك الله فيك

  • @offthepath7958
    @offthepath7958 6 років тому

    Thank you so very much for these!

  • @maryharbour7991
    @maryharbour7991 5 років тому +1

    thanks Boston, great stuff

  • @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.

  • @pedroornelas9771
    @pedroornelas9771 6 років тому +1

    hi i have i missunderstanding when i run the "C:\ Program Files\Wireshark" doesnt work :/ can you help?

    • @jumokehelen2598
      @jumokehelen2598 4 роки тому

      It's not a command it's a absolute path he created

  • @nikkei325i
    @nikkei325i 9 років тому

    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.

  • @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.

  • @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

  • @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

  • @homemetax
    @homemetax 7 років тому +1

    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 :)

  • @harishovandkar1708
    @harishovandkar1708 2 роки тому

    path command is not working for me .. i am using powershell 7.0

  • @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.

  • @vidsscreen
    @vidsscreen 3 роки тому

    What does TSHARK AND WIRE SHARK MEAN OR DO WITH EACH OTHER

  • @diegobaca2222
    @diegobaca2222 9 років тому

    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?

  • @rj00a
    @rj00a 9 років тому +10

    Oh no... I accidentally cleared my PATH.
    Don't ever type "PATH ;" in the command prompt haha

  • @klonanbrown2807
    @klonanbrown2807 4 роки тому

    Thanks bucky, very cool

  • @abhisekhkumar4948
    @abhisekhkumar4948 3 роки тому

    Dude..! You are my angel..!

  • @monickverma9637
    @monickverma9637 5 років тому +3

    Can i edit the path frm cmd?

  • @lycan2494
    @lycan2494 5 років тому

    doesn't work : / i typed enter with the executable file in the prompt and it just opens the file

  • @misamagana2875
    @misamagana2875 3 роки тому

    Do you know a command to open a plato file in the command prompt?

  • @datplant4188
    @datplant4188 4 роки тому

    How do i permanently add something to my path through the cmd?

  • @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 роки тому

      ua-cam.com/video/ADh_OFBfdEE/v-deo.html
      I think it will help
      you will understand what is path and why .exe get executed directly and how commend line commend works.

  • @karthikeyapassupathy6766
    @karthikeyapassupathy6766 5 років тому

    my path address is listed in the user variable will i still be able to use it

  • @jjeon9850
    @jjeon9850 7 років тому

    Why don't the double quotes appear in some computers?

  • @bachirhaouache3951
    @bachirhaouache3951 6 років тому

    can u provide me with how to add to the path variable using cmd ??

  • @CleymanYT
    @CleymanYT 2 роки тому +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 :)

  • @priya200328
    @priya200328 6 років тому

    I typed in cd "My Documents" it doesn't work why??

  • @chiragr1336
    @chiragr1336 4 роки тому +1

    Video request: please also explain environment variables.

  • @NilakshMalpotra
    @NilakshMalpotra 7 років тому

    I tried it but the directories I add don't show up in path :(

  • @CorrosiveH2O
    @CorrosiveH2O 6 років тому

    alright that's nice and all, but how do I move directories?

  • @_N_E_E_R_A_J_
    @_N_E_E_R_A_J_ 6 років тому +11

    what does the program 'tshark' do?

    • @durrhurr55
      @durrhurr55 6 років тому +1

      GAMERS FOREVER tcp capture for wireshark? Or something he edited himself ? Idk I'm still too in my skiddie phase to know

    • @cynido
      @cynido 6 років тому +5

      it bites

  • @nouralkhabaz3567
    @nouralkhabaz3567 4 роки тому

    is it same as sidraa user system ???????

  • @799lipe
    @799lipe 4 роки тому

    Does it work with python files?

  • @notanenglishperson9865
    @notanenglishperson9865 2 роки тому

    HOW TO ADD TO PATH FROM THE CMD

  • @smashmouth751
    @smashmouth751 6 років тому

    This does not work for me.
    I type path and then spotify.ink and it says something about a batch file.

  • @OneShotMan222
    @OneShotMan222 9 років тому

    That's a badass processor

  • @dailydoseofshortz420
    @dailydoseofshortz420 4 роки тому

    When I try to go to wireshark it says it's not recognized can anyone help

    • @JJFlores197
      @JJFlores197 4 роки тому +1

      Do you have Wireshark installed? If not, it won't run since it isn't installed.

    • @dailydoseofshortz420
      @dailydoseofshortz420 4 роки тому

      @@JJFlores197 should I install it or do I not really need it. Live your profile picture btw

    • @JJFlores197
      @JJFlores197 4 роки тому +1

      @@dailydoseofshortz420 Wireshark is a tool used for monitoring and capturing network packets. Its a good program, but if you don't know what that is, then you most likely don't need it.

    • @dailydoseofshortz420
      @dailydoseofshortz420 4 роки тому

      @@JJFlores197 ok thank you I'm going to try to learn lots more about Coding so I will probably get it thanks again

    • @JJFlores197
      @JJFlores197 4 роки тому

      @@dailydoseofshortz420 Coding won't really help you with learning Wireshark. This program, as I mentioned, is used for network monitoring and capturing network packets. You may want to look into computer networking if you're interested in Wireshark.

  • @vahid6418
    @vahid6418 3 роки тому

    Very informative!

  • @wiLLow-nl6tq
    @wiLLow-nl6tq 7 років тому

    i don't have wireshark-do you install it?

  • @toughman2013
    @toughman2013 Рік тому

    tshark doesnt work for me

  • @net200777
    @net200777 8 років тому

    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.

  • @sharkdavid
    @sharkdavid 6 років тому

    Very good info here!

  • @outofusernames9175
    @outofusernames9175 5 років тому

    How do i edit the path ?

  • @RodrigoVieiraEufrasiodaSilva
    @RodrigoVieiraEufrasiodaSilva 9 років тому

    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 8 років тому +1

      if you don't know english than how the hack you understand his tutorials??

  • @everyoneelsebutyou
    @everyoneelsebutyou 8 років тому +1

    THank YOU my dude!

  • @himelsarkar137
    @himelsarkar137 8 років тому +4

    How to download team veower from inter net by using cmd (only)

    • @736939
      @736939 8 років тому +1

      Python web crawler course !

    • @himelsarkar137
      @himelsarkar137 8 років тому

      wher I will get?

    • @736939
      @736939 8 років тому +1

      At the same channel check for python and python web crawler !

    • @himelsarkar137
      @himelsarkar137 8 років тому

      "100Thanks"

  • @kennyxd3756
    @kennyxd3756 4 роки тому

    My head blew up

  • @michaelsunday6860
    @michaelsunday6860 8 місяців тому

    Nice work