::hwat::io::CleanupTempFiles

Closes and deletes all non-protected temp files.

Syntax

::hwat::io::CleanupTempFiles {b_deleteFiles}

Arguments

b_deleteFiles
Delete the temp files after closing them.
Default = TRUE
Optional

Returns

Success
List of file handles that were closed
Failure
{}

Example

::hwat::io::CleanupTempFiles FALSE

Comments

Temp files can be protected from cleanup by passing an optional argument to the CreateTempFile function.