Is there a way to open a file without blocking its renaming by another application?
Saving an open file does not block its renaming to Unix. Can I achieve the same behavior on Windows?
You need to open the file in sharing mode FILE_SHARE_DELETE(0x00000004).
FILE_SHARE_DELETE
See the MSDN Help for the CreateFile API .
, . Windows , unix ( * ux , ). , ( ext3 Windows, )