TemporaryDirectory - Maple Help

FileTools

 TemporaryDirectory
 return a directory for storing temporary files

 Calling Sequence TemporaryDirectory()

Description

 • The TemporaryDirectory procedure attempts to return a directory suitable for storing temporary files.
 • If no suitable directory is found, the empty string is returned.

Examples

 > $\mathrm{FileTools}:-\mathrm{TemporaryDirectory}\left(\right)$
 ${"/tmp/mpldoc4"}$ (1)
 > $\mathrm{FileTools}:-\mathrm{IsDirectory}\left(\mathrm{FileTools}:-\mathrm{TemporaryDirectory}\left(\right)\right)$
 ${\mathrm{true}}$ (2)

Compatibility

 • The FileTools[TemporaryDirectory] command was introduced in Maple 16.