$TemporaryDirectory

$TemporaryDirectory

gives the main system directory for temporary files on your computer system.

Details

Examples

Basic Examples  (1)

Show the path for the temporary directory:

Open a stream for writing in the temporary directory:

Close the stream:

Print the resulting file:

Wolfram Research (2008), $TemporaryDirectory, Wolfram Language function, https://reference.wolfram.com/language/ref/$TemporaryDirectory.html.

Text

Wolfram Research (2008), $TemporaryDirectory, Wolfram Language function, https://reference.wolfram.com/language/ref/$TemporaryDirectory.html.

CMS

Wolfram Language. 2008. "$TemporaryDirectory." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/$TemporaryDirectory.html.

APA

Wolfram Language. (2008). $TemporaryDirectory. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$TemporaryDirectory.html

BibTeX

@misc{reference.wolfram_2024_$temporarydirectory, author="Wolfram Research", title="{$TemporaryDirectory}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/$TemporaryDirectory.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_$temporarydirectory, organization={Wolfram Research}, title={$TemporaryDirectory}, year={2008}, url={https://reference.wolfram.com/language/ref/$TemporaryDirectory.html}, note=[Accessed: 21-November-2024 ]}