McLaughlin, James on Tue, 09 Dec 2003 01:56:18 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

RE: Reading in a file


I tried that (using " ") and also various shortened versions of the
path.

I used to use pari/gp on a unix system and I did not need quotes there.

I shortened the file name to fu37.txt to minimize typing errors (Its on
the desktop). Here are the exact error messages, with and without the
quotes.

With:
(19:41) gp > \r "C:\Documents and Settings\jmclaugh\Desktop\fu37.txt"
  ***   error opening input file: "C:\Documents and Se
                                  ^--------------------

Without:
                                  
(19:44) gp > \r C:\Documents and Settings\jmclaugh\Desktop\fu37.txt
  ***   error opening input file: C:\DocumentsandSetti
                                  ^--------------------

-----Original Message-----
From: Phil Carmody [mailto:thefatphil@yahoo.co.uk] 
Sent: Monday, December 08, 2003 7:03 PM
To: McLaughlin, James; pari-users list
Cc: pari-dev@list.cr.yp.to
Subject: Re: Reading in a file

--- "McLaughlin, James" <James.McLaughlin@trincoll.edu> wrote:
> \r C:\Documents and Settings\jmclaugh\Desktop\prfibgpnbfu37
> 
> generates an error message:
> 
> "*** error opening input file: C:\Documents.....

Is that the full error message, verbatim?

Are you sure it doesn't say
***   error opening input file:
C:\DocumentsandSettings\jmclaugh\Desktop\prfibgpnbfu37


If so, try quote characters -- your filename is being viewed as 
multiple strings that are to be concatenated.

Phil

=====
When inserting a CD, hold down shift to stop the AutoRun feature
In the Device Manager, disable the SbcpHid device.
http://www.cs.princeton.edu/~jhalderm/cd3/

__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/