This is documentation for Mathematica 5, 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 /


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

FilledSmallSquare SetDirectory sets the current working directory, then returns its full name.

FilledSmallSquare SetDirectory prepends the current working directory to the directory stack given by DirectoryStack[ ].

FilledSmallSquare See Section 1.11.2 and Section 2.12.4.

FilledSmallSquare See also: ResetDirectory, Directory, DirectoryName, $Path.

FilledSmallSquare New in Version 2.