使用下面的代码可以并行下载tim和qq的安装文件, 但是如果我把链接改成不存在的链接, 仍然会下载一个小的exe文件, 判断%errorlevel%也没有输出非0的值- curl.exe --url "https://dldir1.qq.com/qqfile/qq/TIM3.5.0/TIM3.5.0.22143.exe" --output "C:\Users\administrator\desktop\tim.exe" --location --tr-encoding --globoff --noproxy * --next --url "https://dldir1.qq.com/qqfile/qq/QQNT/Windows/QQ_9.9.15_240902_x64_01.exe" --output "C:\Users\administrator\desktop\qq.exe" --location --tr-encoding --globoff --noproxy * --parallel
复制代码
|