MathGroup Archive 2002

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

Search the Archive

Re: path problem


Hi,

In order to specify where to look for a file when using "<<" I use the
following syntax:

<<"d:\\docume~1\\user\\mydocu~1\\latex\\report\\filename.txt"

i.e. I fully specify the path. If your directories have long file names,
then use "dir /x" to work out what their 8.3 names are. I'm not sure if
Mathematica recognises long file names. The same applies for ">>".

--
Regards,

Novak Petrovic
novak at itee.uq.edu.au

"Li-Xin Li" <lli at fas.harvard.edu> wrote in message
news:a28bjs$h51$1 at smc.vnet.net...
> Hi,
>
> I have just installed a mathematica 4.1 on my PC under dos/windows.
> When I try to run a program, it turns out that mathematica cannot find
> the files in the current directory (the . directory). When I check
> the $Path from mathematica, I find that "." is in the list of paths.
> Could somebody teach me why mathematica cannot find the file in the
> directory (e.g., when I try "<<a.m" mathematica told me "Cannot open
> the file") and how to fix it? Do I have to type the long string for
> the path of the file each time? Is there a way to configure mathematica
> so that it can find files in the current directory?
>
> Thanks,
> L.X.Li
>




  • Prev by Date: Re: Thread? Through? Operate?
  • Next by Date: RE: Thread? Through? Operate?
  • Previous by thread: Re: path problem
  • Next by thread: Re: path problem