Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2001
*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 2001

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

Search the Archive

Re: Re: Notebook Filename

  • To: mathgroup at smc.vnet.net
  • Subject: [mg30405] Re: [mg30342] Re: Notebook Filename
  • From: Omega Consulting <omega_consulting at yahoo.com>
  • Date: Wed, 15 Aug 2001 01:04:14 -0400 (EDT)
  • References: <9kqjuf$4fp$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

At 02:40 AM 8/11/2001, aes wrote:

>2)  Is there a simple way to set that path to be the default path for
>writes and reads and Export[ ]s and Import[ ]s from that notebook?

Export[ ] uses Directory[ ] and Import[ ] uses $Path (which includes 
Directory[ ]). Directory[ ] can be set with the SetDirectory command.

fn=ToFileName["FileName" /. NotebookInformation[EvaluationNotebook[]]]

SetDirectory[fn]




  • Prev by Date: Data Analysis
  • Next by Date: Mathlink and BorlandC++
  • Previous by thread: Re: Notebook Filename
  • Next by thread: Trick for getting the comples conjugate in symbolic calculations?