This article has been archived. It is offered "as is" and will no longer be updated.
When you use functions to open files, you may encounter the following situation:
When you use NTCreatFile() with the file open by file ID attribute specified on a 64-bit NTFS file, the ID opens the file but, when you attempt to delete the file from a command prompt while the file is open, the following error message occurs:
Corrupt and unreadable file. Please use chkdsk.
The same file, when started normally, will delete fine.
To resolve this problem, obtain the latest service pack for Windows NT 4.0 or the individual software update. For information on obtaining the latest service pack, please go to:
152734 how to obtain the latest windows nt 4.0 service pack
For information on obtaining the individual software update, contact Microsoft Product Support Services. For a complete list of Microsoft Product Support Services phone numbers and information on support costs, please go to the following address on the World Wide Web: