XCOPY32 Does Not Prompt You Before Overwriting Files (134772)



The information in this article applies to:

  • Microsoft Windows 95
  • Microsoft Windows 98

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.

Modification Type:MinorLast Reviewed:12/16/2004
Keywords:kbprb KB134772