XCOPY32 Does Not Prompt You Before Overwriting Files

Last reviewed: May 7, 1996
Article ID: Q134772
The information in this article applies to:
  • Microsoft Windows 95

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.


KBCategory: kbtool kbusage
KBSubcategory: win95
Additional reference words: 95


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: May 7, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.