Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Directories & Directory Operations >

ParentDirectory

ParentDirectory[]
gives the parent of the current working directory.
ParentDirectory["dir"]
gives the parent of the directory dir.
  • ParentDirectory works only under operating systems which support hierarchical file systems.
New in 2
© 2013 Wolfram Research, Inc. Japanese
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team