Recently, some netizens asked the author a technical professional question about the use of Linux system commands. How to use the curl command under Windows? Here is the information compiled by the author and shared with interested friends!
First of all, to understand what is the curl command, what to do?
linux curl is a file transfer tool that works with the URL rules on the command line. It supports file uploading and downloading, so it is a comprehensive transfer tool, but traditionally, it is customary to call url a download tool.
curl is not a double-click to run, you need to use it at the command prompt
How to enter the command prompt Click “Start”——“Run”&mdash ;—Enter CMD
or,WIN+R, enter CMD
After downloading the CURL of my download version, unzip the folder in a folder like D:\\curl ( Curl path)
Enter "d:" in the command prompt window, then enter “cd curl” to jump to the curl folder,
Command (according to your curl analogy) or you can also add curl to the system environment variable how to add the folder where curl is added to the system variable Right click on "My Computer" ”——“Properties”— —“Advanced”——“Environment Variable”——
“System Variables”——“Path”——“Edit” ——Add“;D:\\curl”(note the semicolon,
D:\\curl to your curl path)——&ldqu o; OK & rdquo; can be directly run in the command prompt after adding to the system environment variables such as
“curl -O http://curl.haxx.se/download/curl-7.19.5-win32 -ssl-sspi.zip”
Such a command does not require access to the curl command in the folder where curl is located!
Example Demo:
curl is a small tool that is included in the general Linux distribution. This tool can be used to download files conveniently. I generally use this tool to view a certain page. HTTP header information, we can use this tool in Windows system. If you do not need to support https, then download an executable file directly. There is a download link under Windows at the bottom of this page. Please choose not to have SSL. Version,
Otherwise you will need to install the SSL support package.
After decompressing, execute curl.exe directly (if you can't run it directly, please use cmd to execute the curl.exe program), such as changing the file to disk C:\\curl\\curl.exe. The cmd console is C:\\curl\\curl.exe --help
If you need to execute curl directly from cmd, you can put the curl.exe file into the C:\\WINDOWS\\system32 directory!
Recently, the author has asked such a question in the major IT forums, Baidu know
1. Click on the bottom left “start” menu, select “Run”, en
It is well known that with the help of UAC (User Account Control), Windows Vista cancels the Power u
Windows system is predecessor of the DOS operating system, the users operation of the computer must
Using the command line parameters to patch the system
How to use the Ping command to check the reason why you can't access the Internet?
Microsoft's little known invincible command
Detailed windows system shutdown command
CMD command line cd command usage
Windows Vista command runas.exe full resolution
What is the fdisk/mbr command and what is the main boot area?
How to set up the external microphone of Win7 system laptop?
How to solve the problem of delay in Win10 gaming mouse operation?
Windows 8 crack version removes the lower right corner watermark method
Solve three ways to automatically restart after Win8.1 shutdown
Win10 switches users to default browser manufacturing "trouble"
How to activate Windows 2008 R2 Win2008 R2 effective activation method
Win10 Mobile preview version 14393.105 WeChat photos do not show how to do?
How to identify open and fopen functions in Linux
Pre-installed Windows 8 system models how to perform one-click recovery
How to solve the error when installing MSI program under Win8.1?