gpt4 book ai didi

batch-file - 批处理文件递归复制目录

转载 作者:行者123 更新时间:2023-12-03 04:43:18 25 4
gpt4 key购买 nike

有没有办法在 .bat 文件中递归复制目录?有可用的示例吗?

最佳答案

查看xcopy ,这将递归复制文件和子目录。

页面下方 2/3 处有示例。特别有用的是:

To copy all the files and subdirectories (including any empty subdirectories) from drive A to drive B, type:

xcopy a: b: /s /e

关于batch-file - 批处理文件递归复制目录,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13314433/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com