This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / Built-in Functions / System Interface / File System /


FilledSmallSquare OpenTemporary[ ] opens a temporary file to which output can be written, and returns an OutputStream object.

FilledSmallSquare OpenTemporary is often used in conjunction with Put and Get as a way of preparing data that is exchanged between Mathematica and external programs.

FilledSmallSquare OpenTemporary always creates a new file, that does not already exist.

FilledSmallSquare On Unix systems, OpenTemporary typically creates a file in the /tmp directory.

FilledSmallSquare The global variable $TemporaryPrefix gives the base of the file name used by OpenTemporary.

FilledSmallSquare See Section 2.12.2.

FilledSmallSquare See also: Close, Run.

FilledSmallSquare New in Version 1.