MathGroup Archive 2002

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

Search the Archive

Re: path problem

  • To: mathgroup at smc.vnet.net
  • Subject: [mg32419] Re: path problem
  • From: "Novak Petrovic" <novak at csee.uq.edu.au>
  • Date: Sat, 19 Jan 2002 01:17:21 -0500 (EST)
  • Organization: CSEE, University of Queensland
  • References: <a28bjs$h51$1@smc.vnet.net>
  • Reply-to: "Novak Petrovic" <novak at csee.uq.edu.au>
  • Sender: owner-wri-mathgroup at wolfram.com

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