FileTools - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Input and Output : File Manipulation : FileTools : FileTools/TemporaryDirectory

FileTools

  

TemporaryDirectory

  

return a directory for storing temporary files

 

Calling Sequence

Description

Examples

Compatibility

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

FileTools:-TemporaryDirectory

/usr/local/repository/tmp/mpldoc_slot0/mpldoc1

(1)

FileTools:-IsDirectoryFileTools:-TemporaryDirectory

true

(2)

Compatibility

• 

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

• 

For more information on Maple 16 changes, see Updates in Maple 16.

See Also

FileTools[IsDirectory]

FileTools[TemporaryFilename]