File Is Deleted After Choosing to Overwrite with Another File (167925)



The information in this article applies to:

  • Microsoft Windows CE Operating System, Versions 1.0

This article was previously published under Q167925

SYMPTOMS

When you use Handheld PC (H/PC) Explorer to move a file from one folder to another on your H/PC, you may receive the following message:
This folder already contains a file called '<filename>'. Would you Like to replace the existing file...?
If you click Yes to overwrite the existing file, you may receive the following error message:
Cannot move <filename>: Access is denied. Make sure the disk is not full or write protected and that the file is not currently in use.
If you click OK, the file that you attempted to overwrite is deleted.

CAUSE

This behavior occurs when all of the following conditions exist:
  • A file with the same name as the file that you are attempting to move already exists in the destination folder.
  • The file you are attempting to move is open on your H/PC.

RESOLUTION

To work around this problem, make sure the file is closed before you attempt to move it.

STATUS

Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Modification Type:MinorLast Reviewed:2/11/2004
Keywords:kberrmsg KB167925