cURL命令失败 [英] cURL command failure
本文介绍了cURL命令失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图在一个批处理文件,我写使用卷曲的命令。我已经下载了最新的卷曲可执行文件并运行它,但我不能用命令卷曲我应该采取哪些步骤来正确地使用它?该命令行还称
I am attempting to use curl commands in a batch file I am writing. I have downloaded the latest curl executable and run it but I cannot use the command "curl" What steps should I take to use it correctly? The Command line still says
袅袅不被识别为一个内部或外部命令,就能程序或批处理文件
我没有兴趣做任何其他与卷曲
I am not interested in doing anything else with cURL
推荐答案
您必须包含目录 curl.exe
添加到您的路径
,大概是斌
目录。
在Windows XP中,你可以这样做:
You will have to add the directory containing curl.exe
to your path
, probably the bin
directory.
In Windows XP you can do this by:
- 右键点击计算机,然后选择属性
- 单击高级标签
- 单击环境变量
- 找到
路径
在列表和路径添加到您的卷曲目录
- Right click your computer and choose properties
- Click the advanced tab
- Click environmental variables
- Find
path
in the list and add the path to your curl directory
这篇关于cURL命令失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文