2017-01-02 90 views

回答

0

后获取当前目录与蒂娜的答案。

for %%* in (.) do set CurrDirName=%%~nx*

然后,你就必须ren file.ext %CurrDirName%.ext

先别忘了@echo off