Home »
Public Forums »
archive »
Re: findfile()
Re: findfile() [message #9062] |
Thu, 29 May 1997 00:00 |
Phil Williams
Messages: 78 Registered: April 1996
|
Member |
|
|
I had taken some code from David Fanning and extended it a bit to find
directories and files, DIREXIST and FILEEXISTS, respectively. Both are
available on my website <http://www.irc.chmcc.org/idl/philsIDL.html>.
Both of these did not work quite right in 4.0 under different platforms
(namely Mac and Unix). I think that the problem I was having was fixed
in 5.0. I do have a version that should behave as expected under 4.0.1
that I could also make available.
Phil
R. Bauer wrote:
>
> Hi
>
> I found Differences for findfile:
>
> On idl4.0.1 for PC I got with print,findfile('*.*') all directories too.
> They are separated with a \ from the files.
> This is fine, because than it's very easy to write a function to find
> only the directories.
>
> The same idl function for unix did not separate the directory names from
> the filenames.
>
> In pickfile there is for unix a spawn command used to get the
> directories, that's the reason while it's slow.
>
> Did someone have a true idl function for unix without spawn to get the
> directories or is this problem fixed in idl5.0
>
> R.Bauer
>
> --
> R.Bauer
>
> Institut fuer Stratosphaerische Chemie (ICG-1)
> Forschungszentrum Juelich
> email: R.Bauer@fz-juelich.de
|
|
|
Current Time: Wed Oct 08 17:36:56 PDT 2025
Total time taken to generate the page: 0.00567 seconds