0

我有一个目录,其中有 36 个子文件夹。我想使用 robocopy 复制最后 18 个文件夹。我怎么做?有什么我可以使用的选项吗?

4

1 回答 1

0

此批处理文件应跳过 18 个文件夹,然后对每个单独的文件夹使用 robocopy。

@echo off
for /f "skip=18 delims=" %%a in (' dir /a-d /b ') do (
robocopy "%%a" "target folder" switches
)
于 2013-07-22T11:00:39.310 回答