MathGroup Archive 2003

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

Search the Archive

How to find out which directory a .m file is loaded from?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg38922] How to find out which directory a .m file is loaded from?
  • From: "John Harper" <jharper at cisco.com>
  • Date: Sun, 19 Jan 2003 00:33:15 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

I'd like, in a .m file for a package, to be able to know what directory
the .m file is being loaded from, so I can search in the same place
(or subdirectories) for related files. I've looked through everything
to do with directories I can find in The Book, but I can't find anything
that looks as though it would help.

Anyone know how to do this? Thanks in advance...

    John




  • Prev by Date: system locks on converting graph
  • Next by Date: RE: Prefix[f[x]], why is it not working
  • Previous by thread: system locks on converting graph
  • Next by thread: Re: How to find out which directory a .m file is loaded from?