We help IT Professionals succeed at work.

file already exists. do you want to replace it. yes no.

manoj91 asked
Medium Priority
Last Modified: 2012-06-27
file already exists. do you want to replace it. yes no.
i want windows to replace the file by default, i don't want it to ask me.
Watch Question

I don't think it is possible while you copy using Windows Explorer method. You only have "Yes to all" with which it will ask only once.
What kind of file? And how do you copy it?

This is a securityfeature in windows that you can not live without.. Think about the malicious creeps out there that would hack their way into a defenceless system without any fileprotection.

There are a number of ways to do this from the command line.  The simplest is XCOPY with the /C /H /R /Y switches.  ROBOCOPY from the 2003 Resource Kit Tools is more configurable and reliable.

If you want to do it through Windows Explorer then it looks like this utility will set it up for you:

I haven't tried it, but it is free and open source.


i have a list of files of type jpg which are correctly named, i'm performing a 'save as' function from coreldraw to replace them with the correct picture.
i want to avoid the hassle of clicking yes to replace.
Then "Yes to all" is your only opt!

If thats not available, complain to Corel...


its a one by one process. each cdr has some content that i select to export to jpg. the files are already created, i just replace them.  yea, corel has upset me.
Then you are out of luck!

There is no way to change this behaviour in Windows, and thank whatever for that!
Save them to another directory and then move them all at once using xcopy, robocopy, or PerigeeCopy.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.