NotebookDirectory
Wolfram Kernel
NotebookDirectory[] _Stringreturns a file path to the current notebook.
Use it in a multiuser environment, where you cannot rely on Directory[]
Blocking function. Avoid using it in timers like SetTimeout, external event handlers such as InputButton or Button, or within AsyncFunction.