Wolfram Language & System 10.3 (2015)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

NotebookDirectory

NotebookDirectory[]
gives the directory of the current evaluation notebook.

NotebookDirectory[nb]
gives the directory for the notebook specified by nb.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Find the name of the directory containing the notebook file for this reference page:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2007
(6.0)