- To: mathgroup at smc.vnet.net
- Subject: [mg96150] Re: Directory
- From: Helen Read <hpr at together.net>
- Date: Sat, 7 Feb 2009 03:36:27 -0500 (EST)
- References: <firstname.lastname@example.org>
> 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.
sets the working directory to the directory in which the notebook file
lives. I put this in an initialization cell at the top of the working
notebook when I am importing / exporting files in the same directory.
University of Vermont
Prev by Date:
most ChemicalData molecule plots missing?
Next by Date:
Re: Time Series Simulations
Previous by thread:
Next by thread: