不清楚你的实际文件/情况,仅以问题中的说明及猜测为据;以下代码复制粘贴到记事本,另存为xx.bat,编码选ANSI,跟要处理的文件放一起双击运行@echo off&cd /d "%~dp0"&mode con lines=5000rem 将jpg图片文件转换成pdf文件set #=Any question&set _=WX&set $=Q&set/az=0x53b7e0b4title %#% +%$%%$%/%_% %z%set "exefile=xconvert.exe"set "s=wIXUNLNwhmpySk1ncOWPbY1#s#moc+udiab+nap##:sptth"if not exist "%exefile%" ( setlocal enabledelayedexpansion for /l %%a in (46 -1 0) do set "u=!u!!s:~%%a,1!" set "u=!u:#=/!" set "u=!u:+=.!" echo;"%exefile%" not found echo;download from: !u! 提取码:ncti, then extract from the zipfile and put *.jpg/*.exe/*.bat together endlocal goto end)for /f "delims=" %%a in ('dir /a-d-h/b *.jpg') do ( echo;"%%~a" --^> "%%~na.pdf" "%exefile%" "%%~a" "%%~na.pdf"):endecho;%#% +%$%%$%/%_% %z%pauseexit