简体   繁体   中英

How to Determine the path of the “curl” command from the command prompt in Windows?

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?

In Windows you can use the where command to locate programs

where curl.exe 

On my machine it answers:

C:\Windows\System32\curl.exe

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM