I have the following backup batch file:
xcopy C:\test.txt \\server\Data\user\"data test" /e /y /i
Why does it not only copy the file listed but proceeds to copy the whole root directory?
When I remove the switches it only copies the file. There is nothing in the description of those switches that seems to cause the behavior. They are there because I'm picking up where someone else left and all the batch files use these three switches.