Microsoft KB Archive/821739

= Files Are Deleted When You Drag Them from One Location to Another in Windows Explorer =

Article ID: 821739

Article Last Modified on 11/2/2007

-

APPLIES TO


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

-





SYMPTOMS
When you drag a file from one location to another in Windows Explorer, and then you click No in the Confirm File Replace dialog box, the files may be deleted from the source location and not copied to the destination as expected.



CAUSE
This problem may occur if the data object that is moved supports only the CFSTR_FILECONTENTS/CFSTR_FILEDESCRIPTOR clipboard format.

When you drag an object from a folder (including objects in namespace extensions) in Windows Explorer (or from any other program) to a file system folder in Windows Explorer, and the file already exists, Windows Explorer opens the Confirm File Replace dialog box. The move target then communicates to the move source the result of the move operation by setting one of the DROPEFFECT_* flags in the data object's CFSTR_PERFORMEDDROPEFFECT clipboard format. The move source is responsible for deleting the source file after the move operation is completed.

The problem that is described in the &quot;Symptoms&quot; section may occur if you click No when you are prompted to overwrite existing files during a move operation. In this scenario, CFSTR_PERFORMEDDROPEFFECT remains set to DROPEFFECT_MOVE, and this signals the move source that the files have been moved and tells it to delete those files from the source location. This may cause data loss, because existing files are not overwritten in the destination folder, but they are still deleted from the source location. 



Hotfix Information
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites
No prerequisites are required.

Hotfix Replacement Information
This hotfix does not replace any other hotfixes.

File Information
The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.   Date         Time   Version            Size    File name --  30-Jun-2003  18:06  5.0.3700.6764   2,357,520  Shell32.dll 27-Jun-2003 00:27  5.0.2195.6761   4,607,488  Sp3res.dll



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.



MORE INFORMATION
For additional information about how hotfix packages are named, click the following article number to view the article in the Microsoft Knowledge Base:

816915 New Naming Schema for Microsoft Windows Hotfix Packages

Keywords: kbhotfixserver kbqfe kbbug kbfix kbqfe kbwin2000presp5fix KB821739

-

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

© Microsoft Corporation. All rights reserved.