|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
ParentDirectory
ParentDirectory[]
gives the parent of the current working directory.
ParentDirectory["dir"]
gives the parent of the directory dir.
DetailsDetails
- ParentDirectory returns the full name of the directory as a string.
New in 2
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
