ResetDirectory

ResetDirectory[]

resets the current working directory to its previous value.

Details

Examples

Basic Examples  (1)

SetDirectory pushes a directory onto the DirectoryStack[]:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

ResetDirectory pops a directory from the DirectoryStack[]:

In[3]:=
Click for copyable input
Out[3]=
In[4]:=
Click for copyable input
Out[4]=

See Also

SetDirectory  Directory  $Path

Tutorials

Introduced in 1991
(2.0)