Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: Subject: Calling one notebook into another

  • To: mathgroup at smc.vnet.net
  • Subject: [mg52319] Re: Subject: [mg52319] Calling one notebook into another
  • From: Bill Rowe <readnewsciv at earthlink.net>
  • Date: Mon, 22 Nov 2004 01:28:57 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

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