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

Home » Public Forums » archive » Re: cd bug in IDL 5.5
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: cd bug in IDL 5.5 [message #31039] Wed, 05 June 2002 00:36 Go to previous message
Wolfgang.Dobler is currently offline  Wolfgang.Dobler
Messages: 4
Registered: April 2002
Junior Member
Reimar Bauer <r.bauer@fz-juelich.de> writes:

>> Has anybody encountered this one before:
>>
>> idl> cd, '../../..'
>>
>> only moves one directory up under IDL 5.5 (5.4 was OK).
>
> you can use file_expand_path('../../../idl')
>
>
> The FILE_EXPAND_PATH function expands a given file or partial directory
> name to its fully qualified name regardless of the current working
> directory.

Thanks, that's exactly what I needed!

I first tried EXPAND_PATH, but that one just confirms the bug:

idl> print, expand_path('../../../idl')
../idl


W o l f g a n g

--
------------------------------------------------------------ ----
| Wolfgang Dobler, Kiepenheuer Institute for Solar Physics |
| http://www.kis.uni-freiburg.de/~dobler/ |
------------------------------------------------------------ ----
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Appending data to a preexisting SD dataset in an HDF file
Next Topic: varimax rotation of EOFs / PCA

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

Current Time: Fri Oct 10 14:06:01 PDT 2025

Total time taken to generate the page: 3.91902 seconds