Re: small init.m problem
- To: mathgroup at smc.vnet.net
- Subject: [mg84607] Re: small init.m problem
- From: Jerry <JLK2941 at yahoo.com>
- Date: Sun, 6 Jan 2008 06:01:23 -0500 (EST)
- References: <flnjav$js6$1@smc.vnet.net>
Bill, I know the current working directory is the one that is returned by Directory[] but what significance does it have? I've found no clues in the help or tutorials (but I could have missed it). Whatever it is, I've found that Appending my target directory to $Path is useless. If I want Mathematica to look for my files or output files to a directory I specify, I must do it using SetDirectory[]. Regards Bill Rowe wrote: > On 1/3/08 at 5:31 AM, JLK2941 at yahoo.com (Jerry) wrote: > >> David, thanks, that works too. I guess I don't understand what use >> SetDirectory is if $Path specifies where files are to be found. HELP >> talks a lot about the "current working directory" but never defines >> what that means (that I could find). It seems that $Path defines a >> list of "current working directories". > > The current working directory is the directory returned by > Directory[] and should be the equal to the value of > $HomeDirectory at startup. > > The value of $Path is a list of directories that will be > searched when say loading a package using Get or Needs. This is > not a list of working directories. > > You can get a list of system variables for various directories > by doing ?$*Directory. Clicking on the links will give you a > brief description of each. > -- > To reply via email subtract one hundred and four >