xcopy – a great tool

So, tired of copy and paste between folders/drives, and all of a sudden access is denied on a particular file so the transfer stops.. that sucks!

xcopy is a great tool on command prompt.

go to the directory you want to copy to and type:

xcopy {copy path} /C /H /K /R /E /Y

also note that if any of your paths have spaces in them, you need to enclose them with quotes, ie. xcopy c:\"documents and settings\administrator" /SWITCHES.
This does:
/C Continues copying even if errors occur.
/H Copies hidden and system files also.
/K Copies attributes. Normal Xcopy will reset read-only attributes.
/E Copies directories and subdirectories, including empty ones. Same as /S /E. May be used to modify /T.
/R Overwrites read-only files.
/Y Suppresses prompting to confirm that you want to overwrite an existing destination file. May be preset in the COPYCMD environment variable

I give credit to commandwindows.com
The link for all xcopy commands are:
here

Xcopy provides an excellent tool for backing up selected folders. With appropriate switches, a variety of backup scenarios can be created. One possible backup configuration would be to copy only those files that have been changed. Here is an example command:
xcopy C:\somefolder E:\backupfolder /D /E /C /R /H /I /K /Y
This command will copy all files, including those in sub-folders, that are newer in the source folder. It will copy hidden as well as read-only files and will create the destination folder and/or sub-folders if they do not already exist.