Skip to main content

NotebookDirectory

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

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

Please visit the official Wolfram Language Reference for more details and examples on core symbols.