![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/1/16/1166c9bc-dac0-4b08-8c8b-1041b20f9e08/1166c9bc-dac0-4b08-8c8b-1041b20f9e08-bgdc.png)
206 ROM-DOS Commands
MX3 Reference Guide E-EQ-MX3RG-J-ARC
XCOPY.COM
External Command
The XCOPY command copies multiple files and, optionally, subdirectories from one disk to
another.
Syntax
XCOPY [source] [target] [/options]
Remarks
Use the XCOPY command to copy 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 filename 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 for instructions.
Options
The /A option copies only source files that have the archive bit set in them. The archive is not
reset.
The /D<mm-dd-yy> option copies only those files with a date later than that specified.
The /E option creates subdirectories on the target even if they are empty.
The /M option copies only those source files that have the archive bit set. Once the source file is
copied, the archive bit is reset.
The /P option prompts before each file is copied. The prompt appears as follows; enter Y to copy
the file:
C:\COMMAND.COM (Y/N)?
The /S option copies files in subdirectories of the source directory.
The /V option verifies each write to the disk.
The /W option waits before starting to copy files and prompts with the following message.
Press any key to begin copying file(s)
Example
XCOPY \bin\*.exe a: /a
Copies all files in the BIN subdirectory to the A: drive that have an .EXE extension and that have
the archive bit set.