Re: Is there any environment variable for the directory containing the currently running source .nb file?
- To: mathgroup at smc.vnet.net
- Subject: [mg119063] Re: Is there any environment variable for the directory containing the currently running source .nb file?
- From: Helen Read <readhpr at gmail.com>
- Date: Sat, 21 May 2011 06:45:10 -0400 (EDT)
On 5/20/2011 6:39 AM, ziyuang wrote: > Or can I set the working directory to that one via some functions? I > searched the documentation but found nothing. > To find the directory of the current notebook: NotebookDirectory[] Thus you can set the directory to that directory like so. SetDirectory[NotebookDirectory[]] -- Helen Read University of Vermont