Re: $Path for Mathematica3.0?
- To: mathgroup at smc.vnet.net
- Subject: [mg7330] Re: [mg7296] $Path for Mathematica3.0?
- From: jpk at max.mpae.gwdg.de
- Date: Tue, 27 May 1997 22:26:49 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
> From lmchung at cse.cuhk.edu.hk Thu May 22 17:19:08 1997 > Date: Thu, 22 May 1997 09:20:04 -0400 (EDT) > From: lmchung at cse.cuhk.edu.hk (Siu Ming) To: mathgroup at smc.vnet.net > To: mathgroup at smc.vnet.net > Subject: [mg7330] [mg7296] $Path for Mathematica3.0? > > Is '$Path' a env. variable set by 'SET' in the autoexec.bat > to search for packages? What's its syntax? Suppose I've put the > packages in c:\pc\packages. If I've set '$Path', is it correct if > I type <<abc.m . 'abc.m' is a package under c:\pc\packages. > Raymond > > Hi Raymond, no. Mma has it's own path varibale $Path. The environment variables of DOS/Win unix have nothing to do with it. By the way the $varname is the reference to a shell variable in unix, the reference to an environment variable in DOS/Windows batch files is %varname%. You must set the Mma $Path variable in Your init.m file with AppendTo[$Path,"c:/pc/packages"] Hope that helps Jens