从列表自动重命名 (DOS)
我想知道是否可以通过列表重命名文件。我解释一下我的情况:
我在一家日本公司工作,我在我的电脑上收到一些带有日语名称的文件,我想自动重命名这些文件,就像这个例子: feiruno.ジュunichi.pdf -> File.Junichi.pdf,因为我每周收到的大多数文件都具有相同的名称。我已经搜索过,但大多数帖子都是关于重命名许多具有相同名称的文件。
感谢您的帮助。
I was wondering if it was possible to rename a file by a list. I explain my case :
I work in a japanese company and I receive on my pc some files with a japanese name, and i would like rename these automaticly, like this example : ファイルの.ジュニチ.pdf -> File.Junichi.pdf, because most of these files i receive get the same name, every week. I've search but most of posts was about renaming a lot of files with the same name.
Thanks for your help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可能可以编写一个 .bat 文件来使用 for-in-do:
...或类似的东西来完成此操作(显然您需要增加 %counter%)。如果可以的话,您将可以更轻松地编写 Powershell 脚本来完成此任务。我不久前写了一个与此类似的东西(renameWebFiles.ps1):
希望有帮助!
You could probably write a .bat file to accomplish this using for-in-do:
...or something like that (obviously you'll want to increment %counter%). If you can though, you'll have an easier time writing a Powershell script to accomplish this. I wrote one that does something similar to this a while ago (renameWebFiles.ps1):
Hope that helps!