Xcopy batch file behavior
- by piagetblix
I have the following backup batch file:
xcopy C:\test.txt \server\Data\user\"data test" /e /y /i
The issue is 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 3 switches.
Thanks