Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在一个文件夹中,我有以下bmp图像
bmp
我想用 lastfile name 重命名第一个文件名。
setlocal enabledelayedexpansion for /l %%a in (19,1,22) do ( set /a new=41-%%a ren "%%a.bmp" "!new!.~bm" ) ren *.~bm *.bmt
使用一些临时名称来交换....