|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
$InitialDirectory
$InitialDirectory
gives the initial directory when the current Mathematica session was started.
DetailsDetails
- $InitialDirectory returns the full name of the directory as a string.
- If Mathematica is started from a shell or command line, $InitialDirectory gives the current operating system directory.
- If Mathematica is started from a menu or icon, $InitialDirectory typically gives the user's home directory $HomeDirectory.
ExamplesExamplesopen allclose all
Basic Examples (1)Basic Examples (1)
Typical value of $InitialDirectory on Windows:
| In[1]:= |
| Out[1]= |
New in 3 | Last modified in 5
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
