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
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.
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.
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.
you can simply send it to nul
:
xcopy source destination options > nul
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With