Article ID: 268897 - View products that this article applies to.
This article was previously published under Q268897
This article has been archived. It is offered "as is" and will no longer be updated.
On a Windows 2000 NTFS volume, if a folder within a file path is renamed to a truncated version of the original folder name, some file I/O operations may continue to behave as if the old path is still valid.
For example, consider the following file path:
C:\Development\Bin\App.exeIf the folder "development" is renamed as "dev", some functions may still be able to access the file using the full original path name. That path should now be invalid, but it continues to work until the computer is restarted.
The nature of the unexpected behavior depends on the API being used. For example, GetFileAttributes() will continue to return attributes for the file based on the old name. In this case, the API continues to succeed when it should fail.
On the other hand, an attempt to create a new C:\Development\Bin folder through the use of CreateDirectory() will fail with "ERROR_ALREADY_EXISTS". In this case, the API fails when it should succeed.
When a folder name is truncated, its corresponding hash value is not being properly removed from the NTFS hash table on Windows 2000.
To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
260910The English version of this fix should have the following file attributes or later:
(http://support.microsoft.com/kb/260910/EN-US/ )How to Obtain the Latest Windows 2000 Service Pack
Date Time Version Size File name -------------------------------------------------- 7/17/2000 7:23pm i386 511,696 Ntfs.sys
Microsoft has confirmed that this is a problem in Microsoft Windows 2000. This problem was first corrected in Windows 2000 Service Pack 2.
For additional information about how to install Windows 2000 and Windows 2000 hotfixes at the same time, click the article number below to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/249149/EN-US/ )Installing Microsoft Windows 2000 and Windows 2000 Hotfixes
Article ID: 268897 - Last Review: February 28, 2014 - Revision: 4.2
Contact us for more help