Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1996
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1996

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

Search the Archive

Re: How to find path to running notebook on a mac ?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg4032] Re: How to find path to running notebook on a mac ?
  • From: ianc (Ian Collier)
  • Date: Tue, 28 May 1996 01:45:09 -0400
  • Organization: Wolfram Research, Inc.
  • Sender: owner-wri-mathgroup at wolfram.com

In article <4ne6d2$car at dragonfly.wolfram.com>,
a_kowald at chemie.fu-berlin.de (Axel Kowald) wrote:

> Hi
> I'm using Mathematica 2.2 on a mac running 7.5.1 and I have the
following problem:
> I'm starting Mma by double clicking on a notebook. How can I now find out the
> directory where that notebook lies ?
> HomeDirectory gives only the path to the Mathematica program itself, not
to the 
> notebook. 
> 
> 
> Many thanks
> 
>         Axel Kowald


You can use the "Paste File Pathname..." command which is on the 
Prepare Input submenu of the Action Menu.

When you select this a file browser opens allowing you to select 
the file in question. On selecting a file its full pathname is 
posted in at the insertion point in the current notebook. For your 
purposes you might want to delete the filename itself.

I hope this helps.

--Ian

-----------------------------------------------------------
Ian Collier
Wolfram Research, Inc.
-----------------------------------------------------------
tel:(217)-398-0700   fax:(217)-398-0747    ianc at wolfram.com
Wolfram Research Home Page:         http://www.wolfram.com/
-----------------------------------------------------------

==== [MESSAGE SEPARATOR] ====


  • Prev by Date: No ListPlot points shown
  • Next by Date: MathLink/CodeWarrior problem
  • Previous by thread: How to find path to running notebook on a mac ?
  • Next by thread: Re: How to find path to running notebook on a mac ?