This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
Built-in Mathematica Symbol|See Also »

ContextToFileName

ContextToFileName["context"]
gives the string specifying the file name that is by convention associated with a particular context.
  • In typical cases, "name`" is taken to be associated with the file "name.m".
Give the file with extension .m that would be associated with a context:
Longer context qualifiers correspond with directories:
Give the file with extension .m that would be associated with a context:
In[1]:=
Click for copyable input
Out[1]=
Longer context qualifiers correspond with directories:
In[2]:=
Click for copyable input
Out[2]=
New in 3