This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)


resets the current working directory to its previous value.
  • Successive calls to ResetDirectory yield earlier and earlier current directories.
  • ResetDirectory removes the last element from the directory stack, and makes the second-to-last element current.
New in 2