【发布时间】:2016-05-12 00:52:57
【问题描述】:
我在一个文件夹中有很多文件,我想将它们移动到与其名称的一部分匹配的文件夹中。
例子:
[PartOfItsName] Season01Episode02 (04.04.16).mp4
[PartOfAnotherName] Season02Episode02 (05.02.16).mp4
[AndAnotherOne] Season03Episode04 (02.01.16).mp4
After moved I want something like this:
C:/[PartOfItsName]/[PartOfItsName] Season01Episode02 (04.04.16).mp4
C:/[PartOfAnotherName]/[PartOfAnotherName] Season02Episode02 (05.02.16).mp4
C:/[AndAnotherOne]/[AndAnotherOne] Season03Episode04 (02.01.16).mp4
文件名不会被修改,只需要创建括号中的文件夹,然后将文件移动到各自的文件夹中。
【问题讨论】:
标签: file batch-file directory