如何使用Windows命令提示符多次运行curl脚本

I am a total novice at scripting, and need some help in curl scripting. I need to access a URL multiple times using CURL script in Windows command prompt, So that would need calling curl script multiple times. Is there any way to : (A) access the URL request multiple times using single curl script, (B) or a way in command prompt to call the single curl script multiple times?

To execute a curl program 3 times, try...

for /L %i in (1,1,3) do your_curl_script

The last number in (1,1,3) controls your looping count.

NOTE: This is a solution to your (B) option. You could put your CURL code inside a batch file and call the batch file X number of times. The DOS command line would look slightly different, as such:

for /L %i in (1,1,3) do your_batch_file