Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
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
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team