Re: IDL Workbench Starting Directory [message #58160 is a reply to message #58159] |
Mon, 21 January 2008 15:16  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
David Fanning writes:
> This looks like another workbench bug to me. I'm working
> on my Windows laptop this afternoon. I have configured
> my Initial Working Directory via the Window -> Preferences
> -> IDL dialog. I exit IDL and re-start. When it gets
> done "analyzing" my code, I check the current working
> directory:
>
> IDL> pwd
> C:\Program Files\ITT\IDL70\bin\bin.x86
>
> Humm. Not what I wanted. :-(
>
> OK, I set up a start-up file that sets this command:
>
> Pref_Set, 'IDL_START_DIR', 'C:\IDL\The Incubator', /COMMIT
>
> Exit IDL and start up again. I see the print statement in
> my start up file, so it executes correctly. But...
>
> IDL> pwd
> C:\Program Files\ITT\IDL70\bin\bin.x86
>
> Huh!?
Interestingly, if I close all the open files in my Workbench,
then quit IDL, and then open it up again, all is well. I have
the correct startup directory. So I opened the same four files
I had opened previously again. Exit IDL and start up again. Still
OK.
The thing I object to most with the IDL Workbench is its
propensity to play with your head. You begin to think you
are going crazy. You are not. Unless I am *really* going
crazy, I've been going crazy too much for it to be my fault.
Something is amiss here. I just can't put my finger on it yet.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|