Microsoft KB Archive/227398

= Xcopy /r Command Prompts You For Confirmation on Read-Only Files =

Article ID: 227398

Article Last Modified on 2/23/2007

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition

-



This article was previously published under Q227398



SUMMARY
In earlier versions of Windows NT, if you use the Xcopy command with the /r switch, you are not prompted to confirm overwriting a read-only file.

In Windows 2000, the Xcopy command prompts you to confirm overwriting a read-only file.



MORE INFORMATION
When you want to silently overwrite read-only files, use the /y switch. This switch is useful in scripting and batch files where you do not want to be prompted to overwrite read-only files.

Keywords: kbenv kbinfo KB227398

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.