MathGroup Archive 2002

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

Search the Archive

Re: Export: Where is exported file?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg37806] Re: Export: Where is exported file?
  • From: "Allan Hayes" <hay at haystack.demon.co.uk>
  • Date: Wed, 13 Nov 2002 01:12:55 -0500 (EST)
  • References: <aqqe6p$sgg$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Dave,

The directory of the notebook in which the evaluation is takintg place is
given by

ToFileName[("FileName" /. NotebookInformation[EvaluationNotebook[]])[[{1}]]]

--
Allan

---------------------
Allan Hayes
Mathematica Training and Consulting
Leicester UK
www.haystack.demon.co.uk
hay at haystack.demon.co.uk
Voice: +44 (0)116 271 4198
Fax: +44 (0)870 164 0565


"DGolber" <dgolber at aol.com> wrote in message
news:aqqe6p$sgg$1 at smc.vnet.net...
> When I do
>
> Export["picture.pdf", pict]
>
> the file picture.pdf ends up in the directory
>
> C:\Program Files\Wolfram Research\Mathematica\4.0
>
> I can see how to alter this by putting the full name of the file in the
> notebook,    The "Get File Path" even makes this somewhat easy.
>
> But is there a settable Option or Preference governing the interpretation
of
> "filename" in Export[filename,data]?
>
> In particular, I would like to be able to tell it to put the file in the
> Directory that the notebook came from.
>
> Doe Microsoft Windows have a notion of current directory?
> Dave Golber
>




  • Prev by Date: Re: help with simple data transform
  • Next by Date: Re: How to convert a matrix into a graph?
  • Previous by thread: Re: Export: Where is exported file?
  • Next by thread: RE: Export: Where is exported file?