XCOPY
: Advanced File Copying
The XCOPY
command is one of the most powerful of the file management command-line tools, and you can use it for some fairly sophisticated file copying operations. Here’s the syntax for XCOPY
:
XCOPY source destination [/A | /M] [/C] [/D[:mm-dd--yyyy]] [/EXCLUDE:file1[+file2[+file3]]] [/F] [/G] [/H] [/I] [/K] [/L] [/N] [/O] [/P] [/Q] [/R] [/S [/E]] [/T] [/U] [/V] [/W] [/X] [/Y | -Y] [/Z]
source
The path and names of the files you want to copy.
destination
The location where you want the source
files copied.
[/A]
Tells XCOPY
to only copy those source
files that have their archive attribute turned on. The archive attribute is not changed. If you use /A
, you can’t also use /M
.
[/M]
Tells XCOPY
to only copy those source ...
Get Windows 8 In Depth now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.