批量重命名文件的扩展名 [英] Renaming file extension in batch
本文介绍了批量重命名文件的扩展名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有几个文件是这样的:
我想改变他们都为*。广州
这是code,我写尝试改变的文件扩展名:
仁* .dat.gz.gz.gz.gz *。广州
但是,这并不做任何事情。谢谢你。
解决方案
仁????????。dat.gz. * ????????。 GZ
或者,如果需要的.dat部分
仁????????。dat.gz. * ????????。dat.gz
I've got a few files like this:
I'm wanting to change them all to *.gz
This is the code I've written to try to change the file extensions:
ren *.dat.gz.gz.gz.gz *.gz
But this doesn't do anything. Thanks.
解决方案
ren ????????.dat.gz.* ????????.gz
or, if the .dat part is needed
ren ????????.dat.gz.* ????????.dat.gz
这篇关于批量重命名文件的扩展名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文