How To Copy Files and Folder One Drive To Another Drive or external drive Using Command Prompt
Channel: Nischal Tech Support
Date: 2022-02-16

This video, How To Copy Files and Folders(subfolder) One Drive To Another Drive or external drive Using Command Prompt.


In case your operating system crashes, you can backup C drive, D drive, etc. using Command Prompt.


Command:
xcopy c:\User\Nischal(user name)\Desktop F:\(destination drive") /h /i /c /e /r /y
xcopy c:\User\Nischal(user name)\Documents F:\(destination drive") /h /i /c /e /r /y
xcopy c:\User\Nischal(user name)\Downloads F:\(destination drive") /h /i /c /e /r /y


xcopy "C:\(source drive") "D:\(destination drive") /h /i /c /k /e /r /y


/h copies hidden and system files also
/i if the destination does not exist and copying more than one file, assume that destination must be a directory
/c continue copying even if error occurs
/k copies attributes
/e copies directories and subdirectories, including empty ones
/r overwrites read-only files
/y suppress prompting to confirm whether you want to overwrite a file
/z Copies over a network in restartable mode




#nischaltechsupport
#CMD 
#Windows10
#nischaltechs