I am trying to use XCopy to copy all text files of folder structure to another folder, while copying the subfolder structure.
Here is what I have
xcopy /s "./Folder1/*.txt" "./Folder2/
The error I am getting is " Cannot perform a cyclic copy"
Any help?