Question
July 30, 2007 at 04:31 AM
peter_mallory

Cmd prompt xcopy

by peter_mallory . Updated 17 years, 10 months ago

I’d like to know how to suppresses prompting to confirm you want to overwrite an existing destination file, but set this to “No”.
At present: xcopy C:\source/S/C/Y D:\destination
however this defaults to overwriting the already copied files. Is there a was in cmd prompt to suppress the prompt and NOT overwrtie existing files?

This discussion is locked

All Comments