MathGroup Archive 1997

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

Search the Archive

Re: reading in a file?!?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg8839] Re: [mg8789] reading in a file?!?
  • From: seanross at worldnet.att.net
  • Date: Mon, 29 Sep 1997 02:40:05 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

Oh...maybe I AM John Keats after all! wrote:
> 
> Hello all,
> 
> I'm running mma 3.0 on my home pc.  I used notepad to edit a file on the
> desktop, called program:
> 
>         ar_size  = 20
>   alpha    = 1
>      etc......
> 
> and tried:
>                 << c:\windows\desktop\program
>                 << c:\\windows\\desktop\\program
>                 << c:\windows\desktop\program.txt
>                 << c:\\windows\\desktop\\program.txt
> 
> to run the file, but nothing worked.  what's the correct way to read in
> this file?
> 
> thanks!
> 
> pete
> 
> --
> Never critisize a man till you've walked a mile in his shoes.  That way,
> you'll be a mile away from him and have his shoes as well.
> -=><=-+-+-=><=-+-+-=><=-+-+-=><=-+-+-=><=-+-+-=><=-+-+-=><=-+-+-=><=-+-+-=><=-
> Do you hate spam? Join the Coalition Against Unsolicited Commercial Email
> (CAUCE) at http://www.cauce.org. Actions speak louder than words. Join Today!
>      I BOYCOTT ANY COMPANY THAT USES MASS ADVERTISING ON THE INTERNET

I think you need quotes around the path name.  To determine which is the
correct form, try "c:\\windows\\desktop\\program.txt" [shift-enter] and
see if it returns the form you expected.


  • Prev by Date: How to select a cell in Mathematica?
  • Next by Date: Re: $Prefereces and Cache
  • Previous by thread: reading in a file?!?
  • Next by thread: Cursor Problem