Xcopy.
What a familiar command in the DOS era is now supported by the operating system? Matthew.
Xcopy Y:/backup.rar E:/dbback // D/C/y
/D: only copy new files
/C: duplicate errors
/Y: no questions
========================================================== ==================================
Xcopy source [destination] [/A |/m] [/d [: date] [/P] [/s [/E] [/V] [/W]
[/C] [/I] [/q] [/F] [/L] [/g] [/h] [/R] [/T] [/u]
[/K] [/n] [/o] [/X] [/y] [/-y] [/Z]
[/Exclude: file1 [+ file2] [+ file3]...]
Source specifies the file to be copied.
Destination specifies the location and/or name of the new file.
/A only Copies files with an archived property set,
But does not change attributes.
/M only Copies files with an archive property set,
Disable the archive attribute.
/D: M-D-Y: copy the objects that have been changed since the specified date or date.
If no date is provided, only the source time is copied.
A file that is newer than the target time.
/Exclude: file1 [+ file2] [+ file3]...
List of objects containing strings. Each string
It must be in a separate row of the file. If any
Absolute path of the string and the file to be copied
The file will not be copied.
For example, strings such as/obj/or. OBJ are excluded.
All files under the OBJ directory or
File with the. OBJ extension.
/P prompt before creating each target file.
/S copies directories and subdirectories, except empty.
/E: Copy directories and subdirectories, including empty ones.
Same as/S/e. It can be used to modify/t.
/V verify each new file.
/W prompts you to press the button before copying.
/C continues copying even if an error occurs.
/I if the target does not exist, copy more than one file,
It is assumed that the target must be a directory.
The file name is not displayed during/Q replication.
/F indicates the complete source and target file names.
/L displays the file to be copied.
/G allows copying unencrypted files
Encryption targets are not supported.
/H also copies hidden and system files.
/R overwrites the read-only file.
/T create directory structure, but do not copy files.
Does not include empty directories or subdirectories. /T/e Includes
Empty directories and subdirectories.
/U only Copies files that already exist in the target.
/K copy attributes. Generally, xcopy resets the read-only attribute.
/N is copied with the generated short name.
/O copy the file ownership and ACL information.
/X copy file audit settings (implicit/O ).
/Y copy file audit settings (implicit/O ).
Existing target file.
/-Y causes a prompt to confirm rewriting of
Existing target file.
/Z copies network files in restart mode.