简体   繁体   English

如何从 Windows 的命令提示符中确定“curl”命令的路径?

[英]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.

相关问题 在Windows中使用curl命令提示如何执行多行命令? - Using curl command in Windows prompt how to execute multi line command? 如何运行cURL命令以从Windows命令提示符下的文本文件下载数据? - How to run a cURL command for downloading data from a text file in Windows command prompt? 如何使用Windows命令提示符多次运行curl脚本 - How to run a curl script multiple times using windows command prompt 如何从 windows 命令提示符中杀死 python? - how to kill python from windows command prompt? 使用命令提示符确定 Tomcat 是否在 Windows 中运行 - Determine if Tomcat is running in Windows using the command prompt 从Windows命令提示符/批处理文件中的路径字符串获取叶 - Getting the leaf from a path string in Windows Command Prompt/batch file 无法从 windows 命令提示符运行 curl 命令,但可以从 cygwin 驱动器运行它 - Not able to run curl command from windows command prompt but can run it from cygwin drive 如何从 Windows 命令提示符将 OR 运算符与命令 FINDSTR 一起使用? - How to use OR operator with command FINDSTR from a Windows command prompt? 如何从 Windows 命令提示符启用“空闲”命令 - How to enable the "idle" command from Windows Command Prompt 如何从windows命令提示符连接到mysql命令行 - How to connect from windows command prompt to mysql command line
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM