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?
Asked
Active
Viewed 31 times
1
-
1See https://stackoverflow.com/questions/304319/is-there-an-equivalent-of-which-on-the-windows-command-line – Henrik Holmgaard Høyer Feb 10 '21 at 15:28
1 Answers
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
![](../../users/profiles/1444548.webp)
Henrik Holmgaard Høyer
- 656
- 1
- 9
- 21
-
1Very 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