Community SQL Server on Linux: How is Delete-On-Close Handled by SSWUG Research (RDORR) Windows provides an option for CreateFile to delete a file when the file is closed (FILE_FLAG_DELETE_ON_CLOSE.) Register to Read