DeleteFile, then MoveFile Fails. is Delete Asynchronous?
If I delete a file, check if the file is deleted with DoesFileExist (it is) then use MoveFile to a file with the same name/location as the that was just deleted, I receive a Error 183, can't move file because a file with that name already exists.
I am doing this in Vista Beta 2, and the test was conducted in the C:\ProgramData folder.
If the same test was conducted in a directory in Program Files, the files were virtualized and the same error was not seen.
Also if a sleep for 1 millisecond was entered directly before the MoveFile no errors were seen.
Is this a known issue or has the DeleteFile been changed?

