MathGroup Archive 2001

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

Search the Archive

Re: Notebook Filename

  • To: mathgroup at smc.vnet.net
  • Subject: [mg30333] Re: Notebook Filename
  • From: Mark Westwood <mark at galeawestwood.freeserve.co.uk>
  • Date: Sat, 11 Aug 2001 03:39:54 -0400 (EDT)
  • References: <9kqjuf$4fp$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

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