移动位于docs下的子文件夹里面的文件到根目录docs下 for d %f in docs\* do pushd…

移动位于docs下的子文件夹里面的文件到根目录docs下

然后再删除空目录

for /f "delims="

The following will move all the files and folders, including empty ones, deleting each original file after it has moved it.
robocopy /move /e sourcedir destdir

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

*