I believe this is what's happening. I read something recently from Raymond Chen that it works like:
1. Open file with the delete flag
2. Call a function to set the new file information
3. Close the handle.
The signal that a file was renamed happens in step 2, and that signal/event is what many applications subscribe to.
Explorer will wait until the rename is fully completed with the handle closed before showing the change.
1. Open file with the delete flag 2. Call a function to set the new file information 3. Close the handle.
The signal that a file was renamed happens in step 2, and that signal/event is what many applications subscribe to. Explorer will wait until the rename is fully completed with the handle closed before showing the change.