MSPPageDirectory


returns the full path of the directory in which the current script is being processed

DetailsDetails

  • MSPPageDirectory can be used to load data files that live in the same directory as the current script.
  • It should be noted that locating files in the script directory may mean that they are visible to an HTTP request.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

You can simulate how the function works by installing and loading the package.

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=