|
SOLUTIONS
|
ResetDirectory
ResetDirectory[]
把当前目录重设为前一个工作目录的值.
更多信息更多信息
- 对 ResetDirectory 的依次调用会转到越来越早的工作目录下.
- ResetDirectory 使用 DirectoryStack[] 给出的目录堆栈.
- ResetDirectory 删除目录堆栈的最后一个元素并使得第二个元素成为当前最后一个元素.
范例范例打开所有单元关闭所有单元
基本范例 (1)基本范例 (1)
SetDirectory 将一个目录放入到 DirectoryStack[] 中:
| In[1]:= |
| Out[1]= |
| In[2]:= |
| Out[2]= | ![]() |
ResetDirectory 从 DirectoryStack[] 中取出一个目录:
| In[3]:= |
| Out[3]= |
| In[4]:= |
| Out[4]= | ![]() |
版本 2 的新功能
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »


