Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Directory ? Not the current working one !

  • To: mathgroup at
  • Subject: [mg72680] Directory ? Not the current working one !
  • From: "Laura Dabene" <laura.dabene at>
  • Date: Mon, 15 Jan 2007 04:59:21 -0500 (EST)


I need a way to detect the directory a notebook has been saved in,
but none gotten by mean of ?*Directory* seems to be useful.

As example, if MyNotebook.nb was saved in c:\MyDirectory
I would love to get

In  = WhereDoIDwell[]
Out = "c:\MyDirectory"

instead of the current working directory as given by Directory[].

Any hints ? Thanks you a lot.


  • Prev by Date: Derivative recurrence
  • Next by Date: Trouble with reading from file
  • Previous by thread: Re: Derivative recurrence
  • Next by thread: Re: Directory ? Not the current working one !