Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #2531 > unrolled thread

Is there any environment variable for the directory containing the currently running source .nb file?

Started byziyuang <ziyuang@gmail.com>
First post2011-05-20 10:39 +0000
Last post2011-05-20 11:13 +0000
Articles 2 — 2 participants

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Is there any environment variable for the directory containing the currently running source .nb file? ziyuang <ziyuang@gmail.com> - 2011-05-20 10:39 +0000
    Re: Is there any environment variable for the directory containing Chris Degnen <degnen@cwgsy.net> - 2011-05-20 11:13 +0000

#2531 — Is there any environment variable for the directory containing the currently running source .nb file?

Fromziyuang <ziyuang@gmail.com>
Date2011-05-20 10:39 +0000
SubjectIs there any environment variable for the directory containing the currently running source .nb file?
Message-ID<ir5gd7$t5a$1@smc.vnet.net>
Or can I set the working directory to that one via some functions? I
searched the documentation but found nothing.

[toc] | [next] | [standalone]


#2541 — Re: Is there any environment variable for the directory containing

FromChris Degnen <degnen@cwgsy.net>
Date2011-05-20 11:13 +0000
SubjectRe: Is there any environment variable for the directory containing
Message-ID<ir5idh$ig$1@smc.vnet.net>
In reply to#2531
On May 20, 11:39 am, ziyuang <ziyu...@gmail.com> wrote:
> Or can I set the working directory to that one via some functions? I
> searched the documentation but found nothing.

Look up the help on CurrentValue.

CurrentValue[EvaluationNotebook[], "NotebookFullFileName"]

[toc] | [prev] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web