本帖最后由 flashercs 于 2021-3-2 13:59 编辑
下载curl.exe https://curl.se/windows/
设置curl路径和图片下载目录,保存为.bat- @echo off
- cd /d "%~dp0"
- set curl=".\bin\curl.exe"
- set "downloadDir=.\pics"
- if not exist %curl% echo curl.exe not exist. & exit /b
- if not exist "%downloadDir%" md "%downloadDir%" || exit /b
-
- %curl% --url "http://109.18.108.18:7002/pms/SOB/com/tsmd/common/showPhoto?sEmpNo=[6488329-6495329]" --output "%downloadDir%\#1.jpg" --location --compressed --tr-encoding --parallel
- pause
- exit /b
复制代码 "http://109.18.108.18:7002/pms/SOB/com/tsmd/common/showPhoto?sEmpNo=[6488329-6495329]" 这个后面[6488329-6495329]是地址范围 |