建立bat文件,内容:
@echo offsetlocal enabledelayedexpansionset "folder=文件清单" set /a count=1 for %%f in ("%folder%\*") do ( ren "%%~ff" !count!_%%~nf.pdf set /a count+=1 )endlocal