I'm trying to write a batch file that will copy all new files from a source to a destination without prompting (it will be running on a server). This script will not copy files that already exist in the destination.
To do this I've set a source, destination and the /Y flag to ignore any prompting about copying files that already exist.
My command is:
xcopy \\source \\destination /Y
However I'm receiving the error:
"Invalid Number of Parameters"
and don't understand why.