Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2000
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2000

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

Search the Archive

Re: Command to get a notebook's directory?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg22939] Re: [mg22927] Command to get a notebook's directory?
  • From: Adalbert Hanssen <hanssen at Zeiss.de>
  • Date: Fri, 7 Apr 2000 02:54:25 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

according to [mg20941], the solution is

ToFileName[First["FileName" /. 
                  NotebookInformation[EvaluationNotebook[]]
                ] /. $RootDirectory->""
          ]

greetings

Adalbert


  • Prev by Date: RE:graphics export to LAtek and Word
  • Next by Date: making a column into a list
  • Previous by thread: Command to get a notebook's directory?
  • Next by thread: Re: Command to get a notebook's directory?