XCOPY32 Does Not Prompt You Before Overwriting Files

ID: Q134772


The information in this article applies to:
  • Microsoft Windows 95
  • Microsoft Windows 98


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 : kbtool win95 win98
Version : 95 98
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: January 21, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.