Q: Is there a command which gives the directory where the current notebook resides?
A: There is no built-in command--but all the necessary building blocks are available. SelectedNotebook gives the currently selected notebook (NotebookObject) in the front end.
NotebookInformation provides information on any NotebookObject.
The machine-dependent value of Filename can be obtained using ToFileName.
Finally, the name of the directory is returned by DirectoryName.
Converted by Mathematica September 29, 1999 [Prev Page][Next Page]