Directory[]
- To: mathgroup at smc.vnet.net
- Subject: [mg96143] Directory[]
- From: hmalissa <hans.malissa at gmx.net>
- Date: Fri, 6 Feb 2009 04:14:13 -0500 (EST)
Directory[] gives the name of the Mathematica working directory. Is there a possibility to get the name of the directory in which the notebook file is located? For example: I neet to import data files into Mathematica, and the data files are located in the same directory as the notebook file itself. If I use absolute pathnames, importing will not work if the notebook and the data files are moved to a different directory.
- Follow-Ups:
- Re: Directory[]
- From: Curtis Osterhoudt <cfo@lanl.gov>
- Re: Directory[]
- From: Curtis Osterhoudt <cfo@lanl.gov>
- Re: Directory[]
- From: "David Annetts" <davidannetts@aapt.net.au>
- Re: Directory[]
- From: Adriano Pascoletti <adriano.pascoletti@dimi.uniud.it>
- Re: Directory[]
- From: Adriano Pascoletti <adriano.pascoletti@dimi.uniud.it>
- Re: Directory[]
- From: "David Annetts" <davidannetts@aapt.net.au>
- Re: Directory[]