({{, (RefLink[NotebookPath, paclet:ref/NotebookPath])  
is a global option that determines which directories are searched when a specified notebook is needed.}})

OpenersNotesSection(Spacer1)Details

The front end searches the directories specified by (RefLink[NotebookPath, paclet:ref/NotebookPath]) if it needs to locate a notebook whose pathname has not been given explicitly. Three such cases are when you click a hyperlink pointing to an external notebook, when you try to open a notebook listed at the bottom of the (MenuGrayLink[File, paclet:guide/FileMenu]) menu on Windows or under the (MenuGrayLink[File, paclet:guide/FileMenu]) ▶ Open Recent submenu on Macintosh, and when you specify a stylesheet that is not found on (RefLink[StyleSheetPath, paclet:ref/StyleSheetPath]).

The directories to be searched are specified using the FrontEnd`FileName function in terms of global variables such as (RefLink[$InstallationDirectory, paclet:ref/$InstallationDirectory]) or (RefLink[$HomeDirectory, paclet:ref/$HomeDirectory]). Typical directories included in (RefLink[NotebookPath, paclet:ref/NotebookPath]) are FrontEnd`FileName[{(RefLink[$UserBaseDirectory, paclet:ref/$UserBaseDirectory]),"SystemFiles","FrontEnd","Palettes"}], FrontEnd`FileName[{(RefLink[$InstallationDirectory, paclet:ref/$InstallationDirectory])}], and FrontEnd`FileName[{(RefLink[$HomeDirectory, paclet:ref/$HomeDirectory])}].

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[StyleSheetPath, paclet:ref/StyleSheetPath])}})}})