If you go to my web site www.wap3.com
then to Win32 API
then select Get a list of the files in folder

I have an MB example using the FindFirst and FindNext functions, it's much easier than you think

Hope this helps

Trey Pattillo
[EMAIL PROTECTED]

http://www.wap3.com



-------- Original Message --------

From:[EMAIL PROTECTED] on 09/17/99 01:42 PM GMT
Recipients:[EMAIL PROTECTED]
Subject:MI MapBasic - Multiple Files


Hi Folks,

I've written a small MapBasic program which imports only a few layers from
a DXF file
into a TAB file.  Unfortunately there are about 700 files I need to do this
with and
my program only lets me choose one at a time.
Could anyone give me any hints as to how to get a list of files so I can
stick them in
an array and use a For..Next Loop to do all the files in a directory (if
that's the correct
way to do it)?

Thanks in advance

Gordon Stenhouse
North of Scotland Water Authority

Reply via email to