摘要:
1 @echo off 2 title 批处理程序——文件批量重命名 3 color 2e 4 if "%~1"=="" goto noInput 5 cd /d "%~dp1" 6 set /a a=0 7 :loop 8 if "%~1"=="" goto exit 9 if exist %a%%~x1 goto next10 ren "%~n1%~x1" "%a%%~x1"11 shift12 :next13 set /a a=%a%+114 got 阅读全文