swanseabrian 当前离线
五级士官
hlzj88 当前离线
少校
评分人数
TOP
@echo off&setlocal enabledelayedexpansion for /f "delims=" %%a in ("经理.txt") do ( for /l %%i in (1,1,56) do ( if exist "_P_%%i.jpg" ( ren "_P_%%i.jpg" "%%a.jpg" ) )复制代码
qixiaobin0715 当前离线
大校
@echo off setlocal enabledelayedexpansion for /f "delims=" %%a in ('dir /b /a-d *.JPG') do ( set /a n+=1 echo,_P_!n!.JPG ) pause复制代码
@echo off&setlocal enabledelayedexpansion for /f "delims=" %%a in (经理.txt) do ( set /a n+=1 ren "_P_!n!.jpg" "%%a.jpg" ) pause复制代码