This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

$RootDirectory

$RootDirectory
gives the root directory of your file system.
The root directory of the file system:
The root directory of the file system:
In[1]:=
Click for copyable input
Out[1]=
New in 5