RE: Problems with NotebookOpen in Mathematica 4. on WindowsNT
- To: mathgroup at smc.vnet.net
- Subject: [mg21244] RE: [mg21201] Problems with NotebookOpen in Mathematica 4. on WindowsNT
- From: "Ersek, Ted R" <ErsekTR at navair.navy.mil>
- Date: Mon, 20 Dec 1999 02:28:04 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Tanguy Risset wrote: ------------------------ I have a hierarchy of Notebooks which call each others by the command: NotebookOpen["notebookName.nb"] This worked correctly with Mathematica version 3. on any plateform. I installed the version 4. on WindowsNT, surprisingly, the command always answer $Failed and does nothing. I can open the notebook by the menu (File->open) and execute them, but I cannot use the command NotebookOpen. I tried to scan the news for that problem, but I didn't find anything. Do you have any solution to my problem ? ---------------------- The Help Browser listing for NotebookOpen says "NotebookOpen searches the directories specified by the NotebookPath global option for the front-end." You can evaluate the following to get the list of directories NotebookOpen searches. In[1]:= ToFileName/@(NotebookPath/.Options[$FrontEnd,NotebookPath]) Out[1]= (* Not Shown *) Chances are your notebook isn't in one of those directories. You could go in the Option Inspector and add to the list of directories in (NotebookPath), but I think you need to use the same platform independent convention for specifying a directory. Note: Once in the Option Inspector you will need to select (show option values for)->"global". -------------------- Regards, Ted Ersek For Mathematica tips, tricks see http://www.dot.net.au/~elisha/ersek/Tricks.html