I have a script for copying files from one folder to another. The XCOPY command looks like this:
XCOPY /E /Y /V /D:%date% %reportsDataPath% TMP\
The date flag is supposed to make it copy only files from the date specified or later, but in the TMP I see that it copied files created earlier. However, it does not copy all the data from the files. Instead it copies the root file and subdirectories without the data they should contain.
Is there an error in my command that makes it copy those files?