cmd Using xcopy command


Xcopy, copies files and directories, including subdirectories.


/hCopies files with hidden and system file attributes. By default, xcopy does not copy hidden or system files.
/rCopies read-only files.
/sCopies directories and subdirectories, unless they are empty. If you omit /s, xcopy works within a single directory.
/ySuppresses prompting to confirm that you want to overwrite an existing destination file.
/DOrders CMD to only copy files that are newer than their destination opposite.