MathGroup Archive 2004

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

Search the Archive

Re: Subject: Calling one notebook into another


On 11/21/04 at 8:14 PM, drbob at bigfoot.com (DrBob) wrote:

>I tried your code in version 5.1, and it didn't like the
>SetDirectory command:

>SetDirectory["~/Desktop"];

>SetDirectory::"cdir" Cannot set current directory to `1`.

>Here's my home directory:

>$HomeDirectory

>C:\Documents and Settings\bobby

>and here's a command that DOES work:

>SetDirectory["C:\\Documents and Settings\\bobby\\Desktop"];

>Is this a bug?

I doubt it. On unix systems (including Mac OS X) the "~" character expands to be your home directory. I suspect Mathematica relies on the operating system to expand the "~" character in this manner. That would mean this would not work for users on Windows.
--
To reply via email subtract one hundred and four


  • Prev by Date: limits
  • Next by Date: Re: Piecewise symbol in 5.1
  • Previous by thread: Re: Re: Subject: Calling one notebook into another
  • Next by thread: Re: Re: Subject: Calling one notebook into another