$HomeDirectory

$HomeDirectory

gives your "home" directory.

Details

  • $HomeDirectory returns the full name of the directory as a string.
  • On multiuser operating systems, $HomeDirectory gives the main directory for the current user.

Examples

Basic Examples  (1)

Your home directory on the current system:

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

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_$homedirectory, organization={Wolfram Research}, title={$HomeDirectory}, year={1996}, url={https://reference.wolfram.com/language/ref/$HomeDirectory.html}, note=[Accessed: 22-November-2024 ]}