MathGroup Archive 2001

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

Search the Archive

Re: Opening Directory

  • To: mathgroup at
  • Subject: [mg29802] Re: [mg29747] Opening Directory
  • From: John Fultz <jfultz at>
  • Date: Wed, 11 Jul 2001 01:26:50 -0400 (EDT)
  • References: <>
  • Sender: owner-wri-mathgroup at


The only fully correct way to do this is to use SetDirectory[] (but, if 
you follow the above FAQ, you at least don't have to hard-code a path 
inside SetDirectory).  While the 3.0 behavior was often exploited by 
people like yourself, it was by no means reliable.  I can think of several 
ways this behavior could have been defeated in common circumstances...for 
example, if you have multiple notebooks from multiple directories open, 
which directory would be chosen?


John Fultz
jfultz at
User Interface Group
Wolfram Research, Inc.

On Sat, 7 Jul 2001 02:25:52 -0400 (EDT), Roberto Brambilla wrote:
>Dear Math-friends
>when I open Mathematica(4.1) double clicking on a notebook icon
>I'd like that the directory in use is the clicked notebook directory,
>as appened to me with Mathematica(3.0).
>How can I do it appens again automatically, avoiding SetDirectory[..] 
>Thanks in advance,
>Roberto Brambilla
>Via Rubattino 54
>20134 Milano
>tel +39.2.2125.5875
>fax +39.2.2125.610
>rlbrambilla at

  • Prev by Date: RE: Can Anyone Help With This?
  • Next by Date: Re: Can This Be Made Cleaner
  • Previous by thread: Opening Directory
  • Next by thread: Partitioning 1-D list into 2-D Matrix