ROM-DOS Commands 6-31
MX2A137REFGD Revision A MX2 Reference Guide
XCOPY.EXE
Type
External
Purpose
The XCOPY command copies multiple files and, optionally,
subdirectories from one disk to another.
Syntax
XCOPY [source] [target] [/options]
Remarks
The XCOPY command is used for copying multiple files and
subdirectories, if they exist.
The source and the target parameter are complete drive path and file
specification descriptions. If you do not specify a path, XCOPY assumes
the default path. If a file name is not specified then *.* is assumed.
The ATTRIB command may be used to modify the archive bit for the
various XCOPY options that check the archive status of files. Refer to
the ATTRIB command description for instructions.
Options
The /A copies only source files that have the archive bit set in them. The
archive is not reset.
The /D<mm-dd-yy> option causes XCOPY to copy only those files with
a date later than the date specified in the /D option.
The /E option causes XCOPY to create subdirectories on the target even
if they are empty.
The /M option causes XCOPY to copy only those source files that have
the archive bit set. Once the source file is copied the archive bit is reset.
The /P option causes XCOPY to prompt before each file is copied. The
prompt appears as follows:
C:\COMMAND.COM (Y/N)?
If a Y is entered then the file is copied, otherwise, the file is not copied.
The /S option causes XCOPY to copy files in subdirectories of the
source directory.