Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1998
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1998

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

Search the Archive

loading a mathematica file along with opening a Notebook




Linux / X environment
Mathematica 3.0.1.1

How can you automatically load a Mathematica file from the same
directory as a notebook when the notebook is opened and evaluated? The
directory that the notebook is in is not necessarily your current
working directory or in $Path.

I want some Initialization Cells to do this loading, without the person
opening the notebook having to do anything special.  But I can't seem
to find a way to ask Mathematica what directory a notebook was found
in?  It seems like this should be easy?

Thanks for any pointers,

Bob Young
SciComp Inc
5806 Mesa, Suite 250
Austin, TX 78731

512-451-1434
512-451-1622 (FAX)

e-mail: ryoung@SciComp.com
http://www.sig.net/~scicomp



  • Prev by Date: Re: Plotting vector-valued functions
  • Next by Date: Re: Is there a 3.01 student version?
  • Prev by thread: a simple algebraic system of 5 eqns second degree
  • Next by thread: RE: loading a mathematica file along with opening a Notebook