Hide XCOPY confirmation of number of files copied

Kungfauxn00b picture Kungfauxn00b · Jul 29, 2013 · Viewed 17.8k times · Source

I've had a look at the switches for XCOPY and can't seem to find one that suppresses the confirmation of the number of files that have been copied.

Do you know if this is possible?

Thanks in advance,

Dave

Answer

Endoro picture Endoro · Jul 29, 2013

you can simply send it to nul:

xcopy source destination options > nul