-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Per Doug's answer from MSFT, MoveFile is not always atomic.
There are some interesting discussions. ReplaceFile seems to be a better supported choice. MoveFileTransacted looks safer but is marked as discouraged. SetFileInformationByHandle with FILE_RENAME_FLAG_POSIX_SEMANTICS also looks good but it requires the latest Windows 10.
Although this area looks messy, ReplaceFile looks like a pure improvement to MoveFile. It is suggested in MSDN, and seems to preserve more metadata.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels