Clone hard drive using xcopy program

PHOTO EMBED

Mon Dec 12 2022 16:23:58 GMT+0000 (Coordinated Universal Time)

Saved by @savabeh191

xcopy c:\ f:\ /s /e /h /i /c /y
content_copyCOPY

copy all the files and subdirectories (including any empty subdirectories, any system or hidden files) from drive C to drive F. The parameters mean: ● /s: copy directories and subdirectories, unless they are empty. If you omit “/s”, xcopy will work within a single directory. ● /e: copy all subdirectories, even if they are empty. ● /h: copy files with hidden and system file attributes. ● /i: if in doubt always assume the destination is a folder. ● /c: continue copying even if an error occurs. ● /y: suppress prompt to confirm overwriting a file.

https://www.ubackup.com/clone/clone-hard-drive-command-prompt-8523.html