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

Home » Public Forums » archive » Re: IDL environment
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: IDL environment [message #42197 is a reply to message #42125] Tue, 04 January 2005 11:14 Go to previous message
Benjamin Hornberger is currently offline  Benjamin Hornberger
Messages: 258
Registered: March 2004
Senior Member
Michael Wallace wrote:
>> PRO PWD
>> CD, Current=thisDir
>> PRINT, thisDir
>> END
>
>
> Maybe I'm missing something, which I usually do, but wouldn't you just
> need a single command?
>
> IDL> $pwd
> /the/current/working/directory
>
> I use the shell escape ($) when I need to do something quick with the
> file system. I use $ls, $pwd and $vi (!!) all the time it seems. Of
> course, this is only useful for ad hoc IDL from the prompt, but that is
> what the original poster was asking about, no?
>
> -Mike

I think $pwd will tell you the directory from which you started your IDL
session. If you did a 'cd /some/where' later in IDL, $pwd won't tell you
the current IDL working directory.

Benjamin
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: GUI builder limitations?
Next Topic: IDL environment

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

Current Time: Sun Nov 30 06:35:16 PST 2025

Total time taken to generate the page: 0.00210 seconds