gives the Wolfram subdirectory of the user's "documents" directory.


$WolframDocumentsDirectory
gives the Wolfram subdirectory of the user's "documents" directory.
Details

- $WolframDocumentsDirectory returns the full name of the directory as a string. Its value is generally designated by the operating system.
- Various Wolfram Language functions, such as AudioCapture, SpeechSynthesize, etc., default to saving output in $WolframDocumentsDirectory.
- Typical values are:
-
"C:\Users\ \Documents\Wolfram"
Windows "~/Documents/Wolfram" macOS "~/Documents/Wolfram" Linux
Related Guides
History
Text
Wolfram Research (2020), $WolframDocumentsDirectory, Wolfram Language function, https://reference.wolfram.com/language/ref/$WolframDocumentsDirectory.html.
CMS
Wolfram Language. 2020. "$WolframDocumentsDirectory." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/$WolframDocumentsDirectory.html.
APA
Wolfram Language. (2020). $WolframDocumentsDirectory. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$WolframDocumentsDirectory.html
BibTeX
@misc{reference.wolfram_2025_$wolframdocumentsdirectory, author="Wolfram Research", title="{$WolframDocumentsDirectory}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/$WolframDocumentsDirectory.html}", note=[Accessed: 14-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_$wolframdocumentsdirectory, organization={Wolfram Research}, title={$WolframDocumentsDirectory}, year={2020}, url={https://reference.wolfram.com/language/ref/$WolframDocumentsDirectory.html}, note=[Accessed: 14-August-2025]}