bat文件是否可以搜索文件夹并查看文件名,然后仅移动具有该名称或该名称的一部分的文件?然后将它们移到指定位置。
例如:

Parent Folder
Arrow0273.text
Arrow0314.text
Spear083112.text
Spear0832.text
Sheild087.txt
Sheild87.txt

Move only the files with “Arrow” in their name into folder location “A”.
ect...


多谢你们!
编辑:
找到了这个,但不确定是否是我要寻找的,老实说,不确定该代码如何工作。 Move files to directories based on some part of file name?

最佳答案

复制支持通配符,因此您需要做的是:

copy Arrow* A

10-04 11:40
查看更多