Article ID: 138014 - View products that this article applies to.
This article was previously published under Q138014
This article has been archived. It is offered "as is" and will no longer be updated.
When you try to copy a file onto itself, you receive a Confirm File Replace dialog box prompting you to confirm that you want to replace the existing file. If you click Yes, the file may be truncated to zero bytes. If you click No, the file is unchanged.
This problem occurs only when you copy a file onto itself using two different views of the same network resource (such as when you have two different drive letters mapped to the same network resource, or when you have two UNC connections to the same network resource), or when you copy a file onto itself using a drive created with the SUBST command.
NOTE: If you try to move (rather than copy) a file in this manner, the file may be deleted.
This issue is resolved by the following updated file for Windows 95, and later versions of this file:
To install this update, download the Windows 95 Service Pack 1 Update Setup.exe file from one of the sources listed below.
SHELL32.DLL version 4.00.951 817,664 bytes
In addition to correcting the problem described in this article, the new version of Shell32.dll provides the ability to browse printers from the Add Printer Wizard for users of the Microsoft Service for NetWare Directory Services (NDS). Users of the standard network clients included with Windows 95 can already browse printers and do not require this update to browse for printers.
InstallationTo correct the problem described in this article, follow these steps:
Instructions for DownloadingTo obtain this file, apply Microsoft Windows 95 Service Pack 1. For additional information about applying Microsoft Windows 95 Service Pack 1, click the article number below to view the article in the Microsoft Knowledge Base:
(https://support.microsoft.com/kb/142794/EN-US/ )Availability of Microsoft Windows 95 Service Pack 1
Microsoft has confirmed this to be a problem in Microsoft Windows 95. This issue is resolved in Microsoft Windows 98.
This problem does not affect most users, because copying a file onto itself is an unnecessary task. In addition, this problem occurs only in the following circumstances:
(https://support.microsoft.com/kb/161100/EN-US/ )File May Be Truncated When Copied to a Full Network Drive
(https://support.microsoft.com/kb/150215/EN-US/ )Disabling Automatic Network Shortcut Resolution
(https://support.microsoft.com/kb/138014/EN-US/ )File May Be Truncated to Zero Bytes When Copied Onto Itself
(https://support.microsoft.com/kb/136834/EN-US/ )Error Copying Read-Only Files to Core SMB Server
(https://support.microsoft.com/kb/160807/EN-US/ )Cannot Connect to Windows NT Server with Many Shares
For additional information about Windows 95 updates, please see the following article in the Microsoft Knowledge Base:
(https://support.microsoft.com/kb/161020/EN-US/ )Implementing Windows 95 Updates
Article ID: 138014 - Last Review: September 27, 2013 - Revision: 1.1