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:

In[1]:=
Click for copyable input

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

In[2]:=
Click for copyable input

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

In[3]:=
Click for copyable input
Out[3]=

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

In[4]:=
Click for copyable input
Out[4]=

See Also

$Path  SetDirectory  $Input  $InputFileName  ContentLocationFunction

Tutorials

Introduced in 1999
(4.0)