[英]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.我只是想知道是否有办法在我的计算机上找到“curl”命令的路径。 I open up the command prompt and I can execute the curl command no problem.
我打开命令提示符,我可以执行 curl 命令没问题。 But I have to wonder how does the command prompt know what the curl command is.
但是我想知道命令提示符是如何知道curl命令是什么的。 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在 Windows 中,您可以使用
where
命令定位程序
where curl.exe
On my machine it answers:在我的机器上它回答:
C:\Windows\System32\curl.exe
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.