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


gives the directory stack which represents the sequence of current directories used.
Setting directory pushes a directory onto the DirectoryStack[]:
Resetting directory pops a directory from the DirectoryStack[]:
New in 2