|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
DirectoryStack
DirectoryStack[]
gives the directory stack that represents the sequence of current directories used.
DetailsDetails
- DirectoryStack[] returns a list of full names of directories.
- Each call to SetDirectory prepends one element to the directory stack; each call to ResetDirectory drops one.
ExamplesExamplesopen allclose all
Basic Examples (1)Basic Examples (1)
Setting directory pushes a directory onto the DirectoryStack[]:
| In[1]:= |
| Out[1]= |
| In[2]:= |
| Out[2]= |
Resetting directory pops a directory from the DirectoryStack[]:
| In[3]:= |
| Out[3]= |
| In[4]:= |
| Out[4]= |
New in 2
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
