How to suppress query when using copy command

Sorry if this is trivial, but i can´t figure aout how to suppress the query when using a simple command like COPY "X:\folder\file.ext" TO "Y:\folder". I placed the argument QUIET in different places, but this didn´t work.

What query are you talking about?

I don´t know if that's the right term, but i meant the question "are you sure to overwrite file x?".

Add WHENEXISTS=replace to the command (assuming that's what you want to do).

Yep, that work now, thank you Jon. I testet around with QUIET, UPDATEEXISTING & (erroneously) searched for "IFEXISTS" but, no wonder, didn´t find an entry. :unamused: