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

Home » Public Forums » archive » cd to nonexistent directory and up again
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
cd to nonexistent directory and up again [message #81708] Tue, 16 October 2012 03:33 Go to previous message
tom.grydeland is currently offline  tom.grydeland
Messages: 51
Registered: September 2012
Member
Why is it that this fails:


IDL> cd, 'bobo/..'
% CD: Unable to change current directory to bobo/...
No such file or directory

but this does not:

IDL> cd, './bobo/..'
IDL>


I am using CD to determine whether a given path exists as a directory, and I was expecting the second case to fail just like the first one does, since there is no difference between them in my mind.

Cheers,

Tom
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Transparent Image Overlays
Next Topic: Dialog_Pickfile Whack-a-Mole

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

Current Time: Wed Oct 08 19:13:15 PDT 2025

Total time taken to generate the page: 0.00457 seconds