Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
Mathematica >

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.
  • The default setting is Path:>$Path.
  • The possible settings for Path are the same as those for $Path.
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]=
New in 4
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team