home *** CD-ROM | disk | FTP | other *** search
- XCOPY [new DOS 3.2]
-
- The XCOPY external command is used to duplicate groups of files on one
- directory or disk on another directory or disk. Device names cannot be
- used.
-
- XCOPY
- [d1:][pathname1][filename1[.ext1]] [d2:][pathname2][filename2][.ext2]
- [/A][/D][/E][/M][/P][/S][/V][/W]
- \_____________________________/ \____/
- \source/ \destination
-
- [d1:][pathname1][filename1[.ext1]] is the source of the files to be copied.
- At least one of d1:, pathname1, or filename1[.ext1] must be specified.
-
- [d2:][pathname2][filename2[.ext2]] is the destination disk name and directory
- name that copying will begin in. If subdirectory copying is requested [/S],
- directories may be created below this level. The destination disk must be
- formatted (using the FORMAT command), or XCOPY won't work.
-
- /A causes only those files marked for archive to be copied from the
- source.
-
- /D:date causes only those files modified since the date specified to be copied
- from the source. The date format is described in the DATE command topic.
-
- /E causes the directory structure of the destination to include all
- subdirectories present in the source, even if no files get copied.
- Used in conjunction with the /S option.
-
- /M similar to /A, but in addition the archive bit is cleared.
-
- /P causes XCOPY to ask before copying each file.
-
- /S causes XCOPY to copy all subdirectories and their included files from the
- source to the destination.
-
- /V verifies that the data written to the destination file is recorded
- correctly. Setting VERIFY ON with the VERIFY command before a series
- of XCOPY commands is easier than specifying /V on each XCOPY command.
-
- /W causes XCOPY to wait for any key to be pressed before beginning
- to copy files.
-
- XCOPY will not copy read only, or hidden files. A file that is larger than the
- target disk or diskette cannot be copied. XCOPY will not copy a file to itself.