Mathematica 9 is now available
 Documentation / Mathematica / Built-in Functions / System Interface / File System  /
ResetDirectory

  • ResetDirectory[ ] resets the current working directory to its previous value.
  • Successive calls to ResetDirectory yield earlier and earlier current directories.
  • ResetDirectory uses the directory stack given by DirectoryStack[ ].
  • ResetDirectory removes the last element from the directory stack, and makes the second-to-last element current.
  • See the Mathematica book: Section 2.11.4Section 2.11.4.
  • See also: SetDirectory, Directory, $Path.


    Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
    THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
    SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.