how to copy all files and folders in command prompt code example Example: cmd copy all files to another folder xcopy /s c:\Folder1 d:\Folder2