回复 6# Five66
大佬,我刚才按照你说的改了那行格式,测试结果是图片可以打开,但是名称是乱码。不过我不太确定我改的代码对不对:- @echo off
- rem chcp 65001 >nul
- setlocal enabledelayedexpansion
- if not exist down\ md down\
- for /f "tokens=1-2 delims= " %%a in (%~dp0list.txt) do (
- curl -s -o down\%%a.jpg %%b -H "User-Agent:Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; 360SE)"
- )
- pause
复制代码
|