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