此为 Mathematica 4 文档,内容基于更早版本的 Wolfram 语言
查看最新文档(版本11.1)

SetDirectory

Usage

SetDirectory["dir"] sets the current working directory.


Notes

SetDirectory sets the current working directory, then returns its full name.
SetDirectory prepends the current working directory to the directory stack given by DirectoryStack[ ].
• See The Mathematica Book: Section 1.11.2 and Section 2.11.4.