Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #10634 > unrolled thread
| Started by | "McHale, Paul" <Paul.McHale@excelitas.com> |
|---|---|
| First post | 2012-06-26 08:49 +0000 |
| Last post | 2012-06-27 08:10 +0000 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
Re: Default path for opening files "McHale, Paul" <Paul.McHale@excelitas.com> - 2012-06-26 08:49 +0000
Re: Default path for opening files Helen Read <readhpr@gmail.com> - 2012-06-27 08:10 +0000
| From | "McHale, Paul" <Paul.McHale@excelitas.com> |
|---|---|
| Date | 2012-06-26 08:49 +0000 |
| Subject | Re: Default path for opening files |
| Message-ID | <jsbt3k$6ph$1@smc.vnet.net> |
> Is there any smarter way to do this? Look forward to your helpful > comments. I simply use: SetDirectory[NotebookDirectory[]] This will use existing directory regardless of where notebook is. The only caveat is you must save a new notebook at least once so it has an official filename. I would like to make this the default activity but am not sure how to do it. I am also not sure what impact it will have when multiple notebooks are open in different directories. Other people just use: filename = NotebookDirectory[] <> inputFileName; This is done anytime a file is accessed. It is almost becoming faster for me to use FileNames[] than it is to open an Explorer window to look at the current directory. Because I am staying in Mathematica more and more, I prefer to have the directory default to current directory. Paul Paul McHale | Electrical Engineer, Energetics Systems | Excelitas Technologies Corp. Phone: +1 937.865.3004 | Fax: +1 937.865.5170 | Mobile: +1 937.371.2828 1100 Vanguard Blvd, Miamisburg, Ohio 45342-0312 USA Paul.McHale@Excelitas.com www.excelitas.com Please consider the environment before printing this e-mail. This email message and any attachments are confidential and proprietary to Excelitas Technologies Corp. If you are not the intended recipient of this message, please inform the sender by replying to this email or sending a message to the sender and destroy the message and any attachments. Thank you
[toc] | [next] | [standalone]
| From | Helen Read <readhpr@gmail.com> |
|---|---|
| Date | 2012-06-27 08:10 +0000 |
| Message-ID | <jsef50$i6n$1@smc.vnet.net> |
| In reply to | #10634 |
On 6/26/2012 4:49 AM, McHale, Paul wrote: > > SetDirectory[NotebookDirectory[]] > > This will use existing directory regardless of where notebook is. The only caveat is you must save a new notebook > at least once so it has an official filename. I would like to make this the default activity but am not sure how to do it. I put it in an initialization cell at the top of most notebooks, but you could also put it in your init.m file. -- Helen Read University of Vermont
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web