MathGroup Archive 2009

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

Search the Archive

Re: Directory[]

  • To: mathgroup at smc.vnet.net
  • Subject: [mg96175] Re: Directory[]
  • From: Yves Klett <yves.klett at googlemail.com>
  • Date: Sat, 7 Feb 2009 03:41:31 -0500 (EST)
  • References: <gmgv05$33b$1@smc.vnet.net>

Hans,

uh... one obvious solution that will be no doubt appear multiple times:

NotebookDirectory[]

Regards,
Yves

hmalissa schrieb:
> Directory[] gives the name of the Mathematica working directory.
> Is there a possibility to get the name of the directory in which the
> notebook file is located?
> For example: I neet to import data files into Mathematica, and the
> data files are located in the same directory as the notebook file
> itself. If I use absolute pathnames, importing will not work if the
> notebook and the data files are moved to a different directory.
> 


  • Prev by Date: Re: Directory[]
  • Next by Date: Re: Bad Laplace Transform
  • Previous by thread: Re: Directory[]
  • Next by thread: Re: Directory[]