SyntaxFix
Write A Post
Hire A Developer
Questions
After testing most of the switches this worked for me:
xcopy C:\folder1 C:\folder2\folder1 /t /e /i /y
This will copy the folder folder1 into the folder folder2. So the directory tree would look like:
folder1
folder2
C: Folder1 Folder2 Folder1