Say I have a Windows application that creates a file and writes data to it. The application opened the file exclusively so that no other processes could read the data in the file.
If the process was killed, the file will be deleted.
If the process is paused and the file handle is closed (using Process Explorer), the file will be deleted.
This should be a feature of Windows that causes this, because the code no longer runs in this process because it is killed or paused.
How can it be? What type of file has this behavior?
source share