我想通过识别具有我正在寻找的特定模式的文件夹来删除文件夹中的文件夹...例如,如果有6个文件夹如下,我想删除模式具有字符串"-dated"作为文件夹名称的一部分的文件夹...可以帮助我如何在批处理文件中执行此操作
1 . "target-dated-29sep" 2 . "target-dated-28sep" 3 . "target" 4 . "target-dated-27sep"* 5 . "BIN"
windows directory batch-file matching
batch-file ×1
directory ×1
matching ×1
windows ×1