The information in this article applies to:
SYMPTOMS
If you call MoveFileEx with the MOVEFILE_REPLACE_EXISTING flag to rename a
file to the same, current name or to a name that only differs in case,
MoveFileEx might fail with error 2 (ERROR_FILE_NOT_FOUND) and delete the
file.
RESOLUTIONUse MoveFileEx to rename the file to a different, temporary name and then rename the file back to the original name with the correct case. STATUSThe problem has been fixed in Windows 2000. Additional query words:
Keywords : kbAPI kbFileIO kbKernBase kbNTOS400 kbWinOS2000 kbSDKPlatform kbDSupport kbGrpKernBase |
Last Reviewed: January 10, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |