function
Library: Utilities (OMUTIL)
Import : omutil.xmd |
Returns: The path to the system directory for temporary files. |
export string function system-temporary-directory
util.system-temporary-directory
returns the system directory for temporary files. This value may be
different on different operating systems and for different users. Common values are /tmp
for
UNIX systems and C:\temp
for Microsoft Windows systems.
The following program will output the system temporary directory on the platform being used for execution.
import "omutil.xmd" prefixed by util. process output "The system temporary directory on this platform is: " || util.system-temporary-directory || "%n"