Re: Expanding $Path
- To: mathgroup at smc.vnet.net
- Subject: [mg47284] Re: Expanding $Path
- From: "Peter Pein" <no at spam.no>
- Date: Fri, 2 Apr 2004 03:30:37 -0500 (EST)
- References: <c4ghb6$3s6$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
"Harold Noffke" <Harold.Noffke at wpafb.af.mil> schrieb im Newsbeitrag news:c4ghb6$3s6$1 at smc.vnet.net... > $Version "5.0 for Microsoft Windows [2000] (November 18, 2003)" > MathGroup: > > There are three default files in > ...\5.0\AddOns\ExtraPackages\Utilities which I would like to add to my > default search $Path ... > > CleanSlate.m > Notation.m > URLTools.m > > The easiest place to put this new $Path entry would be at the end of > the current $Path, using ... > > $Path = AppendTo[$Path, $NewDir] > > However, I'm uncertain about how to permanently save the expanded > $Path, so Mathematica uses it again. How should this be done? > > Thanks. > Harold > put $Path=AppendTo[$Path,"<fullpathtomathematicadir>\\AddOns\\ExtraPackages\\Uti lities"]; adjusted to your needs into ..\\5.0\\Configuration\\Kernel\\init.m -- Peter Pein, Berlin StringReplace["petsie at arcand.de", Rule@@(ToLowerCase@ToString@Head@#&)/@{William&&S,2b||!2b}]