I can type curl in cmd it finds it

but looking at environment variable path, it isn't stored there, so whete is it stored so that cmd can access it ? I thought cmd could only read path environment variable?

  • type where curl to see – phuclv Sep 16 '18 at 15:50
  • @phuclv thanks it works. So cmd can read something else than path? – user75875 Sep 16 '18 at 15:53
  • no, it still looks inside the path, just like what where does. While running commands the shell does also look at some other places. However if where sees a binary then it must be in the path – phuclv Sep 16 '18 at 15:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.