title: What type of file deletes itself as soon as the handle is closed?
body: <p>Let's say I have a Windows application that creates a file and writes data to it. The application has opened the file exclusively so no other processes can read the data in the file.</p>
  
  <p>If the process is killed, the file is deleted.</p>
  
  <p>If the process is suspended and the handle to the file is closed (using Process Explorer), the file is deleted.</p>
  
  <p>It must be a feature of Windows that causes this, as no more code in the process is run because it's killed or suspended. </p>
  
  <p>How can this be? What type of file exhibits this behaviour?</p>