MathGroup Archive 2010

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

Search the Archive

Re: Frontend suggestions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg111775] Re: Frontend suggestions
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Fri, 13 Aug 2010 06:53:55 -0400 (EDT)

What's inadequate about the following?

   SetDirectory@NotebookDirectory[]

On 8/12/2010 5:31 AM, Themis Matsoukas wrote:
>>
> ...A simple(r) way to change the working directory for input/output operations 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]]]

-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305


  • Prev by Date: Re: Frontend suggestions
  • Next by Date: Re: Collecting Positive and Negative Terms
  • Previous by thread: Re: Frontend suggestions
  • Next by thread: Re: Frontend suggestions