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

Home » Public Forums » archive » findfile on unix bug - help
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: findfile on unix bug - help [message #27030 is a reply to message #26927] Mon, 08 October 2001 07:00 Go to previous messageGo to previous message
Paul Manusiu is currently offline  Paul Manusiu
Messages: 8
Registered: October 2001
Junior Member
> and this works ( of course, I shudder at the thought of using code that
> changes the current directory).
>

Under Unix, CD does not affect the working directory of the process that
started IDL.

>
> The problem is with the path somehow. (And the results can be pretty
> weird, although I haven't nailed them down just yet. But I swear this
> code worked last week.).
>

Check that there isn't a blank character in your subdirectory string. For
example use
strtrim(subdirectory,1)

Also if its a subdirectory of the current directory (ie relative path) check
that you have not place " / "
at the beginning of your path.

>
> Thanks for the code. I'll check it out.
> I am using this function on both window2000 machines as well as unix
> (and soon a linux box). I wanted the cross platform compatibily so I
> do not have different versions, hence the desire to use IDLs findfile.
>
> Cheers,
> bob
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Possibly O/T: printing IDL code in colour
Next Topic: Re: Color mode rgb -> cmyk?

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

Current Time: Wed Oct 08 18:43:55 PDT 2025

Total time taken to generate the page: 0.04368 seconds