This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

Documentation / Mathematica / Built-in Functions / System Interface / File System /

Directory

FilledSmallSquare Directory[ ] gives the current working directory.

FilledSmallSquare Directory returns the full name of the directory as a string.

FilledSmallSquare See Section 1.11.2 and Section 2.12.4.

FilledSmallSquare See also: $Path, SetDirectory, ResetDirectory, ParentDirectory, $HomeDirectory, DirectoryName, FileNames.

FilledSmallSquare New in Version 2.