cmd xcopy all files and folders code example
Example 1: cmd copy all files to another folder
xcopy /s c:\Folder1 d:\Folder2
Example 2: xcopy folder to another folder
Xcopy C:\test D:\test /E /H /C /I
Example 3: open all files in a folder command line windows
FOR %F IN (*.*) DO START %F
Example 4: number all files in a folder
ls -v | cat -n | while read n f; do mv -n "$f" "$n.ext"; done