I have a folder in C:\\Folder1
I want to copy all the contents of Folder1 to another location, D:\\Folder2
How do I do
I see a lot of answers suggesting the use of xcopy. But this is unnecessary. As the question clearly mentions that the author wants THE CONTENT IN THE FOLDER not the folder itself to be copied in this case we can -:
copy "C:\Folder1" *.* "D:\Folder2"
Thats all xcopy can be used for if any subdirectory exists in C:\Folder1