MathGroup Archive 2001

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

Search the Archive

Re: Notebook Filename


Doug

This works for me:

StringReplace[
  ToString[EvaluationNotebook[]], {"NotebookObject[<<" -> "", ">>]" -> ""}]

I hope it's self-explanatory.

Regards
Mark Westwood
Pilot Solutions Ltd

Doug Pickering wrote:

> Is there a way to identify the filename of the notebook in use from within
> that notebook.
>
> For example, if I open the notebook   "testintegral.nb"   can I use a
> function to give me the string "testintegral.nb"  ?
>
> Thank you in advance,
>
> Doug Pickering.
>
> Doug Pickering
> Professor
> Dept of Mathematics and Computer Science
> Brandon University
> (204) 727-9674
> Pickering at BrandonU.ca



  • Prev by Date: Re: Notebook Filename
  • Next by Date: using findroot for multiple functions
  • Previous by thread: Re: Notebook Filename
  • Next by thread: Re: Notebook Filename