MathGroup Archive 1998

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

Search the Archive

Re: $Path variable

  • To: mathgroup at smc.vnet.net
  • Subject: [mg15162] Re: $Path variable
  • From: Ben Stanley <bds02 at uow.edu.au>
  • Date: Wed, 16 Dec 1998 03:11:32 -0500
  • Organization: University of Wollongong, Australia
  • References: <74nvqq$45g@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

What I do is append this to my init.m file, outside the package begin
and end stuff:

Append[ $Path, "C:\\Dir1\\Dir2" ] (* for Windows *) Append[ $Path,
"Volume:Dir1:Dir2" ] (* for Macintosh *)

whatever else if you're on unix.

Doug Webb wrote:

> Hello,
>   How do I change the list of directories searched in the $Path vaiable
> in Mathematica? None of my books give any indication of how to alter
> $Path, other than a "manual" $Path = "......". I want Mathematica to
> search a particular direcotry for packages I've written, in addition to
> all the current ones. I've looked at my init.m file, it doesn't have
> $Path in it. All my attempts to change it init.m have caused crashes.
> Any help would be appreciated. Thanks.
>     Doug



  • Prev by Date: NIntegrate of a Decaying Exponential
  • Next by Date: Re: Black-Sholes ?
  • Previous by thread: Re: $Path variable
  • Next by thread: Global max for a nonlinear function