Reputation: 11
I wrote a batch file to copy files from a network share to the C:\ drive. When I have this file run automatically each day, it asks the user to respond Y, N, or A to replace files already in the directory.
I am trying to make this automatic as possible. I would like for it to answer "A" for all. Could someone please help me with the syntax to do this? So far I have:
@Echo off
xcopy "S:\Files" "C:\Files" /e /i
Upvotes: 1
Views: 1405