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

Home » Public Forums » archive » Re: IDL command for directory files listing
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: IDL command for directory files listing [message #48767 is a reply to message #48766] Thu, 18 May 2006 11:00 Go to previous messageGo to previous message
Dick Jackson is currently offline  Dick Jackson
Messages: 347
Registered: August 1998
Senior Member
Hi Fritz/Francois,

"Fritz" <f.leduc@hotmail.com> wrote in message
news:1147973868.400618@pwww.drenet.dnd.ca...
> Hello,
>
> What is the IDL command for listing the files in one directory ?
> The equivalent of the DOS DIR command...

You can get an array of strings and print them as follows:
Print, File_Search() ; Files, directories, etc.
Print, File_Search(/Test_Regular) ; Files only
Print, File_Search(/Test_Directory) ; Directories only

> Thank you,
>
> Francois.

--
Cheers,
--
-Dick

Dick Jackson / dick@d-jackson.com
D-Jackson Software Consulting / http://www.d-jackson.com
Victoria, BC, Canada / +1-250-220-6117 / Fax: 391-6114
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Image division causes Floating illegal operand
Next Topic: DESCRIPTION field missing from read_tiff()

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

Current Time: Thu Oct 16 18:04:18 PDT 2025

Total time taken to generate the page: 1.28017 seconds