This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
Directories & Directory Operations
Directory current kernel directory
SetDirectory set the current kernel directory
NotebookDirectory current notebook directory
ParentDirectory the parent of a directory
DirectoryName pick out the directory part from a full file name
FileNameJoin assemble a file name from a list of parts
DirectoryQ test whether a name corresponds to an existing directory
Directory Operations
User File Directories
$UserDocumentsDirectory default directory to store kernel files
$HomeDirectory user's home directory
$UserBaseDirectory default base directory for user-specific add-on files
$Path list of directories to search for files
System File Directories
$InitialDirectory initial directory when Mathematica was started
$BaseDirectory default base directory for systemwide add-on files
$InstallationDirectory root of directories for Mathematica installation files
$RootDirectory file system root directory
$TemporaryDirectory system temporary directory
FindFile find a file by searching $Path, etc.