DirectoryStack

DirectoryStack[]

gives the directory stack that represents the sequence of current directories used.

Details

Examples

Basic Examples  (1)

Setting directory pushes a directory onto the DirectoryStack[]:

Resetting directory pops a directory from the DirectoryStack[]:

Introduced in 1991
 (2.0)