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