copy all files from a directory to another windows code example Example: cmd copy all files to another folder xcopy /s c:\Folder1 d:\Folder2