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

Documentation / Mathematica / Built-in Functions / System Interface / File System /

ResetDirectory

FilledSmallSquare ResetDirectory[ ] resets the current working directory to its previous value.

FilledSmallSquare Successive calls to ResetDirectory yield earlier and earlier current directories.

FilledSmallSquare ResetDirectory uses the directory stack given by DirectoryStack[ ].

FilledSmallSquare ResetDirectory removes the last element from the directory stack, and makes the second-to-last element current.

FilledSmallSquare See Section 2.12.4 and Section 2.12.4.

FilledSmallSquare See also: SetDirectory, Directory, $Path.

FilledSmallSquare New in Version 2.