Microsoft KB Archive/134772

= XCOPY32 Does Not Prompt You Before Overwriting Files =

Article ID: 134772

Article Last Modified on 1/19/2007

-

APPLIES TO


 * Microsoft Windows 95
 * Microsoft Windows 98 Standard Edition

-



This article was previously published under Q134772



SYMPTOMS
When you use the XCOPY32 command to copy files, you are not prompted before it overwrites files that are already present.



CAUSE
The XCOPY32 command is not designed to prompt you before overwriting existing files.

NOTE: Xcopy32.exe is an internal helper program that is not designed to be run directly from the command line. It is designed only to be run as a helper by the main Xcopy.exe program.



RESOLUTION
Do not run the Xcopy32.exe program directly. Instead, use one of the following methods:


 * Use the XCOPY command. The XCOPY command prompts you before files are overwritten, provided the COPYCMD environment variable has not been set to the value "/Y." If you set this environment variable, you can force overwrite protection by changing the command to:

SET COPYCMD=/-Y
 * Use Windows Explorer to copy files.

Additional query words: 98

Keywords: kbprb KB134772

-

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

© Microsoft Corporation. All rights reserved.