命令xcopy是您正在寻找的.例:
xcopy source destination /E /C /H /R /K /O /Y
上面的命令将源复制到目标,文件和目录(包括空的),不会停止出错,将复制隐藏和系统文件,将覆盖只读文件,将保留属性和所有权/ ACL信息,并将抑制提示覆盖现有目标文件.
/E Copies directories and subdirectories,including empty ones. Same as /S /E. May be used to modify /T. /C Continues copying even if errors occur. /H Copies hidden and system files also. /R Overwrites read-only files. /K Copies attributes. Normal Xcopy will reset read-only attributes. /O Copies file ownership and ACL information. /Y Suppresses prompting to confirm you want to overwrite an existing destination file.
有关更多信息,请输入xcopy /?和你的命令行.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。