How to open a file in Windows without blocking its renaming

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?

+5
source share
2 answers

You need to open the file in sharing mode FILE_SHARE_DELETE(0x00000004).

See the MSDN Help for the CreateFile API .

+7
source

, . Windows , unix ( * ux , ). , ( ext3 Windows, )

0

All Articles