SysIsFileTemporary (Windows only)

>>-SysIsFileTemporary(filename)--------------------------------><

Checks if a file is flagged as Temporary. This function does not support wildcard specifications.

Parameters:

filename

The name of the file, subdirectory or link to check.

Returns:

0

The file is not flagged as Temporary or does not exist.

1

The file is flagged as Temporary.

Example:

if SysIsFileTemporary(InputFile) then say "File is Temporary!"
else say "File is not Temporary."