Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Re: Default location for Exported files?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg89267] Re: Default location for Exported files?
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Tue, 3 Jun 2008 03:58:25 -0400 (EDT)
  • References: <g1tjlt$kiv$1@smc.vnet.net> <g1v16t$245$1@smc.vnet.net> <g20b4p$g0t$1@smc.vnet.net>

Hi,

"other application" ??? what other application do one need
when one have Mathematica ???

The best way is to add the directory to the file name.

Puzzled regards
   Jens

David Reiss wrote:
> Unfortunately this approach will only work as long as no other
> application that you are using within Mathematica does any directory
> manipulation commands.
> 
> So I'd suggest that you create a small palette with a button that
> resets your directory using the approach in this suggestion.  Then,
> whenever you need to you can reset your working directory to your
> chosen location.
> 
> Generally though you should only ever consider the result of the
> execution of a SetDirectory command as temporary.  Other code will
> often make changes to the current directory...
> 
> --David
> 
> 
> On Jun 1, 4:35 pm, Jens-Peer Kuska <ku... at informatik.uni-leipzig.de>
> wrote:
>> Hi,
>>
>> It is the directory that Directory[] returns and
>>
>> SetDirectory["the directory you like"]
>>
>> will set it to a new location. Put a SetDirectory[] in
>> your init.m and you are done.
>>
>> Regards
>>    Jens
>>
>> AES wrote:
>>> Is there a *global* default I can set to make all files Exported from
>>> any Mathematic notebook from now on (permanently!) always (in the
>>> absence of other specific command) go to a default location of my
>>> choice, on my HD?
>>> Possible choices for this default:
>>> 1)  Always to the desktop?
>>> 2)  Always to the folder **which contains the notebook which does the
>>> Exporting**?
>>> 3)  Always to a designated folder on my desktop?  (I happen to have =
> such
>>> a folder, which I call "Downloads"; essentially every other application
>>> on my laptop -- browser, mail client, newsreader, various editing apps,
>>> and essentially every other app -- is set so that any web file download,=
> 
>>> any FTP, any Save As,  Print to PDF, or similar command will point to
>>> this folder; never have to worry about where else to look.)
> 
> 


  • Prev by Date: Re: SetOptions[TableForm] doesn't seem to work?
  • Next by Date: Re: Re: Default magnification for Help and Tutorials?
  • Previous by thread: Re: Default location for Exported files?
  • Next by thread: Re: Default location for Exported files?