以批处理方式重命名文件名 [英] Rename file name in batch mode

查看:297
本文介绍了以批处理方式重命名文件名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有个问题.如何更改文件夹中的文件名.
假设文件名是xxxyyyzzz.txt,我需要将其更改为xxxzzz.txt.
如何以批处理方式执行此操作?

谢谢,
skunkhead:)

Hi guys,

I have a question. how if i want to change file names in a folder.
Let the say the filename is xxxyyyzzz.txt, i need to change it to xxxzzz.txt.
how can i do this in batch mode?

Thanks,
skunkhead :)

推荐答案

希望 [ ^ ]可能会为您提供帮助.
Hope this[^] might help you.


你好! 2种方法.
如果在同一目录中(例如C:\ folder)
只是说:
重命名FILE.EXTENSION NEWNAME.EXTENSION
如果它是另一个目录,我相信它是:
重命名C:\ DIRECTORY NEWNAME.EXTENSION
希望这会有所帮助!
_______________________________________________________________________________________
记住帮助"!
Hello! 2 ways to do this.
if it is in the same directory (eg. C:\folder )
just say:
rename FILE.EXTENSION NEWNAME.EXTENSION
If it is a different directory i believe it is:
rename C:\DIRECTORY NEWNAME.EXTENSION
Hope this helps!
_______________________________________________________________________________________
Remember "help"!


这篇关于以批处理方式重命名文件名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆