文件批量改名-bat操作

新建txt,改名为rename.bat
添加如下内容即可:

@echo off

set a=1

setlocal EnableDelayedExpansion

for %%n in (*.doc) do (

set /A a+=1

ren "%%n" "20200222_!a!_%%n"

)

根据不同的需要更改不同的内容

猜你喜欢

转载自blog.csdn.net/weekdawn/article/details/104442079
今日推荐