Skip navigation

JSI Tip 2352. How do I control overwrite message prompting for the Windows 2000 COPY, XCOPY, and MOVE commands?

The Windows 2000 COPY, XCOPY, and MOVE commands support the /Y switch:

/Y     Suppresses prompting to confirm you want to overwrite an existing destination file.

Because the /Y switch may be present in the COPYCMD environment variable:

/-Y    Prompts to confirm that you want to overwrite an existing destination file.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish