This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
[an error occurred while processing this directive] $Path

  • $Path gives a list of directories to search in attempting to find an external file.
  • The structure of directory and file names may differ from one computer system to another.
  • $Path is used both for files in Get and for external programs in Install.
  • The directory names are specified by strings. The full file names tested are of the form ToFileName[ directory , name ].
  • On most computer systems, the following special characters can be used in directory names:
  • $Path can contain nested sublists.
  • See the Mathematica book: Section 1.11.2Section 2.11.4.
  • See also: Directory, SetDirectory, Get, DirectoryName, $Input.