::hwat::io::CreateTempFiles - Create a temp file with user specified extension and location.
::hwat::io::CreateTempFile [extension] [location]{b_protected}
[extension] |
File extension for file(default {}) |
[location] |
Location for file(default {}) |
b_protected |
[OPTIONAL] set to TRUE to protect the scratch from the CleanupTempFiles operation. default = FALSE. |
Success -> {str_fh file_handle str_filename file_name}
Failure -> {}
Where,
File_handle = the actual handle to the open file.
File_name = the actual name of the newly created file.
::hwat::io::CreateTempFile TRUE
::hwat::io::CreateTempFile tmp C:/temp TRUE