This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
 Documentation / Mathematica / Built-in Functions / System Interface / File System  /

  • SetDirectory[" dir "] sets the current working directory.
  • 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.2Section 2.11.4.
  • See also: ResetDirectory, Directory, DirectoryName, $Path.