草庐IT

destinationFolder

全部标签

windows - 如何在 Windows 中使用 xcopy 复制目录结构

我有一个包含文件夹列表的文本文件。我的文本文件如下所示:"D:\old\FOLDER1""D:\old\FOLDER2""D:\old\FOLDER3""D:\old\FOLDER4""D:\old\FOLDER5"allthesefoldershavesubfoldersandfilesunderitwhatIwanttodoisusexcopytocopyFOLDER1,FOLDER2,FOLDER3FOLDER4andFOLDER5replicatefolders,replicatingthestructureofthosefolderssoinoutput,Iwanttoget