Path

Path

is an option for Get and related functions which gives a list of directories to search in attempting to find an external file.

Details

  • The default setting is Path:>$Path.
  • The possible settings for Path are the same as those for $Path.

Examples

Basic Examples  (1)

When looking up a file, search a particular directory:

Create a file for this example so there is something to search for:

With the default system search path the file is not found:

The file is found when the Path option is set to the directory:

Wolfram Research (1999), Path, Wolfram Language function, https://reference.wolfram.com/language/ref/Path.html.

Text

Wolfram Research (1999), Path, Wolfram Language function, https://reference.wolfram.com/language/ref/Path.html.

CMS

Wolfram Language. 1999. "Path." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Path.html.

APA

Wolfram Language. (1999). Path. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Path.html

BibTeX

@misc{reference.wolfram_2023_path, author="Wolfram Research", title="{Path}", year="1999", howpublished="\url{https://reference.wolfram.com/language/ref/Path.html}", note=[Accessed: 19-March-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_path, organization={Wolfram Research}, title={Path}, year={1999}, url={https://reference.wolfram.com/language/ref/Path.html}, note=[Accessed: 19-March-2024 ]}