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 /

$Path

FilledSmallSquare $Path gives the default list of directories to search in attempting to find an external file.

FilledSmallSquare The structure of directory and file names may differ from one computer system to another.

FilledSmallSquare $Path is used both for files in Get and for external programs in Install.

FilledSmallSquare The setting for $Path can be overridden in specific functions using the Path option.

FilledSmallSquare The directory names are specified by strings. The full file names tested are of the form ToFileName[directory,name].

FilledSmallSquare On most computer systems, the following special characters can be used in directory names:

FilledSmallSquare $Path can contain nested sublists.

FilledSmallSquare See Section 1.11.2 and Section 2.12.4.

FilledSmallSquare See also: Path, Directory, SetDirectory, Get, DirectoryName, $Input.

FilledSmallSquare New in Version 1.