Mathematica 9 is now available

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

OpenTemporary

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.



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.