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

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

DirectoryStack

FilledSmallSquare DirectoryStack[ ] gives the directory stack which represents the sequence of current directories used.

FilledSmallSquare DirectoryStack[ ] returns a list of full names of directories.

FilledSmallSquare Each call to SetDirectory prepends one element to the directory stack; each call to ResetDirectory drops one.

FilledSmallSquare See Section 2.12.4.

FilledSmallSquare New in Version 2.