MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Notebook Filename

  • To: mathgroup at
  • Subject: [mg30342] Re: Notebook Filename
  • From: aes <siegman at>
  • Date: Sat, 11 Aug 2001 03:40:02 -0400 (EDT)
  • Organization: Stanford University
  • References: <9kqjuf$4fp$>
  • Sender: owner-wri-mathgroup at

In article <9kqjuf$4fp$1 at>,
 "Doug Pickering" <Pickering at> wrote:

> Is there a way to identify the filename of the notebook in use from within
> that notebook.

To extend this very sensible question:  

1)  Is there a way to get the _path_ name for the notebook?

2)  Is there a simple way to set that path to be the default path for 
writes and reads and Export[ ]s and Import[ ]s from that notebook?

(I suspect Prof. Pickering's reason for asking this may be the same as 
mine, namely if we have some notebook that does calculations for 
"Project B" and this notebook is located in a folder named "Project B 
Files", we'd like reads and writes and Export[ ]s and Import[]s 
associated with that notebook to go by default into the "Project B 
Files" folder, and not off into some distant Mathematica home folder.)


  • Prev by Date: Re: Inserting Text into Multifunction Graphs
  • Next by Date: Re: Adding text at various X,Y locations on Multi-Function Graphs
  • Previous by thread: Re: Notebook Filename
  • Next by thread: Re: Notebook Filename