Xcopy of doscommand

Source: Internet
Author: User

D: \ test> xcopy /? Copy the file and directory tree. Xcopy source [destination] [/A |/m] [/d [: date] [/exclude: file1 [+ file2] [+ file3]...] source specifies the file to be copied. Destination specifies the location and/or name of the new file. /A only Copies files with an archived property set, but does not change the attributes. /M is the same as above, and archive attributes are disabled. /D: M-D-Y: copy the objects that have been changed since the specified date or date. If no date is provided, only the files whose source time is earlier than the target time are copied. /Exclude: file1 [+ file2] [+ file3].../P prompts you before creating each target file. /S copies directories and subdirectories, excluding empty directories. /E: Copy directories and subdirectories, including empty directories. /V verify the size of each new file. /W prompts you to press the button before copying. /C continues copying even if an error occurs. /I if the target does not exist and multiple files need to be copied, it is assumed that the target must be a directory. The file name is not displayed during/Q replication. /F indicates the complete source file name and target file name. /L displays the file to be copied. /G allows copying encrypted files to targets that do not support encryption. /H also copies hidden files and system files. /R overwrites the read-only file. /T create directory structure, but do not copy files. Does not include empty directories or subdirectories. /U only Copies files that already exist in the target. /K copy attributes. /N is copied with the generated short name. /O copy the file ownership and ACL information. /X copy file review settings. /Y cancel the prompt to confirm that you want to overwrite the existing target file. /-Y. /Z: Copy network files. /B. /J replication does not use buffered I/O. We recommend that you copy large files.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.