[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reading whole directories



"R.Bauer" <R.Bauer@fz-juelich.de> writes:



>"S.N. Heukels" wrote:

>> I have created a WIDGET that runs fine with 1 file.
>> I've now been looking into the possibility of having the user select a
>> directory and process every file in that directory.
>> Is there a way to gain a string or array containing every file in the
>> directory a user selects >> ??
>>
>> Greets Sean Heukels
>>
>> Invivonmr institute
>> Utrecht University, The Netherlands

>look at findfile()

>R.Bauer

I seem to recall that FINDFILE() has some problems with directories containing
large numbers of files.  Stein Vidar Haugan wrote a routine called FIND_FILE()
that gets around this limitation.  It can be found at

     ftp://sohoftp.nascom.nasa.gov/solarsoft/gen/idl/system/find_file.pro

William Thompson