$Path
gives the default list of directories to search in attempting to find an external file.
Details
- 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 setting for $Path can be overridden in specific functions using the Path option.
- The directory names are specified by strings. The full file names tested are of the form FileNameJoin[{directory,name}].
- On most computer systems, the following special characters can be used in directory names:
-
. the current directory .. the directory one level up in the hierarchy ~ the user’s home directory - $Path can contain nested sublists.
Examples
Wolfram Research (1988), $Path, Wolfram Language function, https://reference.wolfram.com/language/ref/$Path.html (updated 2007).
Text
Wolfram Research (1988), $Path, Wolfram Language function, https://reference.wolfram.com/language/ref/$Path.html (updated 2007).
CMS
Wolfram Language. 1988. "$Path." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2007. https://reference.wolfram.com/language/ref/$Path.html.
APA
Wolfram Language. (1988). $Path. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$Path.html