User Guide
ERD Commander 2002
Winternals Software LP Page 38
15.25 XCOPY
Copies files and directory trees.
Syntax XCOPY source [destination] [/A | /M] [/P] [/S] [/W] [/C] [/I] [/Q] [/F] [/H]
[/R] [/T] [/U] [/K]
Notes source
Specifies the file(s) to copy
destination
Specifies the location and/or name of the new files
Switches /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