MathGroup Archive 2010

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

Search the Archive

Re: Frontend suggestions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg111781] Re: Frontend suggestions
  • From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
  • Date: Fri, 13 Aug 2010 06:55:02 -0400 (EDT)
  • References: <i40f1c$c38$1@smc.vnet.net>

On Aug 12, 11:31 am, Themis Matsoukas <tmatsou... at me.com> wrote:
> --A simple(r) way to change the working directory for input/output operat=
ions from the default (root) to the directory of the current notebook. The =
only way I know how is
>
> SetDirectory[ToFileName[
>   Extract[
>    "FileName" /. NotebookInformation[EvaluationNotebook[]], {1},
>        FrontEnd`FileName]]]
>
> Being incapable of memorizing it, I save this monstrosity in a safe vault=
 and recycle it from notebook to notebook.
>
> Themis

SetDirectory[NotebookDirectory[]] seems to do the trick...

Cheers -- Sjoerd


  • Prev by Date: Re: Frontend suggestions
  • Next by Date: Re: Frontend suggestions
  • Previous by thread: Re: Frontend suggestions
  • Next by thread: Re: Frontend suggestions