how to copy files to other directorys using cmd code example Example: cmd copy all files to another folder xcopy /s c:\Folder1 d:\Folder2