1

I just wanted to know if there was a way to find the path of the "curl" command on my computer. I open up the command prompt and I can execute the curl command no problem. But I have to wonder how does the command prompt know what the curl command is. I assume it is pointing to some executable somewhere. Is there a way to trace the location of the executable using the command prompt itself?

RJ123
  • 13
  • 2

1 Answers1

1

In Windows you can use the where command to locate programs

where curl.exe 

On my machine it answers:

C:\Windows\System32\curl.exe
  • 1
    Very simple answer thankyou! I was looking at my system environment variables but it doesn't specify each command and their location. But this is useful to know! – RJ123 Feb 11 '21 at 16:12