User Guide

ERD Commander 2003
User’s Guide
3.12.24 Xcopy
Copies files and directory trees.
XCOPY source [destination] [/A | /M] [/P] [/S] [/W]
[/C] [/E] [/I] [/Q] [/F] [/H] [/R] [/T] [/U]
[/K]
source Specifies the file(s) to copy.
destination Specifies the location and/or name of new files.
/A Copies files with the archive attribute set,
doesn't change the attribute.
/M Copies files with the archive attribute set,
turns off the archive attribute.
/P Prompts you before creating each destination
file.
/S Copies directories and subdirectories except
empty ones.
/W Prompts you to press a key before copying.
/C Continues copying even if errors occur.
/E Copies empty subdirectories.
/I If destination does not exist and copying more
than one file, assumes that destination must be a
directory.
/Q Does not display file names while copying.
/F Displays full source and destination file names
while copying.
/H Copies hidden and system files also.
/R Overwrites read-only files.
/T Creates directory structure, but does not copy
files. Includes empty directories or
subdirectories.
/U Copies only files that already exist in
destination.
/K Copies attributes. Normal Xcopy will reset
read-only attributes.
Winternals Software Page 43