This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

FindFile

FindFile[name]
finds the file with the specified name that would be loaded by Get[name] and related functions.
  • FindFile[name] successively searches for a file with the specified name in each of the directories given in $Path.
  • FindFile returns full absolute file names.
  • In FindFile[name], the name can be specified with path separators (or on Windows). It can also be specified with context separators.
  • For names of the form , FindFile searches for files and .
  • If FindFile resolves to a directory, it will search for a file named or in that directory.
  • If FindFile resolves to an object of the form which corresponds to a directory, it will search for a file with a name like name.mx/$SystemID/name.mx.
Find which initialization file is loaded:
Find initialization file for a package:
Find a file used for examples:
Find which initialization file is loaded:
In[1]:=
Click for copyable input
Out[1]=
 
Find initialization file for a package:
In[1]:=
Click for copyable input
Out[1]=
 
Find a file used for examples:
In[1]:=
Click for copyable input
Out[1]=
New in 7