Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hide XCOPY confirmation of number of files copied

Tags:

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

like image 299
Kungfauxn00b Avatar asked Jul 29 '13 12:07

Kungfauxn00b


People also ask

How do I hide xcopy prompt for file or directory?

Press F if you want the file or files to be copied to a file. Press D if you want the file or files to be copied to a directory. You can suppress this message by using the /i command-line option, which causes xcopy to assume that the destination is a directory if the source is more than one file or a directory.

Does xcopy verify?

Copying Files with Verification With Xcopy, you can use the /V switch to verify that the destination and source files are identical based on their size after copying. Identical source and destination files indicate that the copy was successful and that file is intact.

How do I exclude in xcopy?

Open the text and write the files' name you'd like to exclude in a separate line like this (without bullets) to make xcopy exclude multiple folders. 3. Run the command now: xcopy c:\t1 c:\t2 /EXCLUDE: C:\mybatch\MyExclusion. txt and press Enter.


1 Answers

you can simply send it to nul:

xcopy source destination options > nul 
like image 126
Endoro Avatar answered Sep 19 '22 05:09

Endoro