大地 当前离线
二级士官
@echo off for %%a in (*.mp3) do ( set/a n+=1 call ren "%%a" %%n%%_%%a ) exit复制代码
qixiaobin0715 当前在线
大校
@echo off setlocal enabledelayedexpansion set n=10000 for /f "delims=" %%i in ('dir /b /a-d *.mp3') do ( set /a n+=1 ren "%%i" "!n:~1!%%i" )复制代码
TOP