1,bat重命名文件
ren aaa.txt bbb.doc
将 aaa.txt 命名为 bbb.doc
2,循环重命名一个文件夹下的所有结尾为jpg的文件,前加上a
for /f %%i in ('dir /b *.jpg') do (ren %%i a%%i)