windows command 批量重命名 文件,在文件前加上前缀

Posted on 2021-02-01 16:29:00

windows command 批量重命名 文件,在文件前加上前缀

for %i in (*.png) do rename "%i" prefix_"%i"

这个命令遍历所有png文件,为它们加上前缀