comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: 6.1 vs. previous: runtime changes working directory
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: 6.1 vs. previous: runtime changes working directory [message #43207 is a reply to message #43205] Thu, 24 March 2005 15:27 Go to previous messageGo to previous message
Michael Wallace is currently offline  Michael Wallace
Messages: 409
Registered: December 2003
Senior Member
> So, what's my question?
> 1. Is there a cl flag for idl that will set a working directory - if I
> were using Windoze, perhaps I could set "Start in:", but, alas I'm
> using Solaris.
> 2. Is this a feature? If so, why?

Someone else would have to answer the "is this a feature" question. An
ugly work-around would be to pull the environmental variable
corresponding to the system's current working directory and start from
there. I only say it's ugly because you have to directly rely on an
environmental variable and just never like having to write code that
might not transfer cleanly if you change the machine that it's running on.

I can get the current working directory on my system with:
cwd = getenv('PWD')

Don't know if that helps or not.

-Mike
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: getting y Coordinates of NetCDF file
Next Topic: 6.1 vs. previous: runtime changes working directory

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Dec 04 22:22:24 PST 2025

Total time taken to generate the page: 2.80509 seconds