Abstract: [DOS] XCOPY Parameters
Z:> xcopy / copy files and directory tree?. XCOPY source [destination] [/ A | / M] [/ D [: date]] [/ P] [/ S [/ E]] [/ V] [/ W] [/ C] [/ I] [/ Q] [/ F] [/ L] [/ G] [/ H] [/ R] [/ T] [/ U] [/ K] [/ N] [/ O] [/ X] [/ Y] [/ -Y] [/ Z] rr [/ EXCLUDE: file1 [+ file2] [+ file3] ...]
source specifies the file to be copied.
destination specified location or / and the name of the new file.
/ A is set to only copy the file to save property, do not change the set attribute.
/ M is set to only copy the file to save property, save and clear the property.
/ D: mdy copy after the specified date or file changes occur. If no date, copy only those source file date than the destination file date for the new file.
/ EXCLUDE: file1 [+ file2] [+ file3] ... Specifies the list of documents string. Each string should be different lines in the file. If there is to be any string corresponds to a partial copy of the absolute path of the file, the file will be copied excluded. For example, specifying a string obj or .obj, it will exclude all file names in the sub-directory obj .obj files are copied.
/ P prompt is displayed when creating each destination file.
/ S Copy the directory and its subdirectories each contain not copy empty directories.
/ E copy each directory and its subdirectories contained also copy empty directories. / S and / E the same, it can be used to modify / T.
/ V Verifies each new file. / W button continue to prompt you before copying.
/ C Continues copying if an error occurs.
/ I If the destination does not exist and copying more than one file, then it must be assumed that the specified destination directory.
/ Q Do not display file names while copying.
/ F Show all file name of the source and destination files when copying.
/ L to display the file you want to copy.
/ G allows encrypted files copied to the destination does not support encryption.
/ H copy hidden files and system files when.
/ R read-only file cover.
/ T to create the directory structure, but does not copy the files. It does not include empty directories and subdirectories. / T / E will include empty directories and subdirectories.
/ U Copies only files that already exists in the destination.
/ K copy file attributes. Typically Xcopy will reset the read-only attribute.
/ N with the short file name generated to replicate.
/ O Copies file ownership and ACL information.
/ X Copy file review set (include / O).
/ Y Do not prompt you to confirm whether you want to overwrite an existing file.
/ -Y shows you to confirm whether you want to overwrite an existing file.
/ Z Copies networked files in restartable mode.
Parameter / Y may be set in advance in the COPYCMD environment variable. But can be used in the command line / -Y parameters overwrite the original set.
XCOPY xcopy backup source folder object folder / S / D / Y
Original: Large column [DOS] XCOPY Parameters