you could use the dos dir command to get a list and redirect it to a file.

ie:
dir *.* >tempfile.txt

what the dir command would normally show on the screen is now put into the
tempfile.txt file.
you could then load the file in excell or something to trim out the extra
data/columns you don't want.

hope it helps.

Mike Lepage, B.Sc.
Senior RF Engineer
Wireless Professional Services
Lucent Technologies
314-891-2130
[EMAIL PROTECTED]


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 17, 1999 8:43 AM
To: [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

NOTE: The information in this email is confidential and may be legally
privileged. If you are not the intended recipient, you must not read, use
or disseminate that information. Although this email and any attachments
are believed to be free of any virus, or any other defect which might
affect any computer or IT system into which they are received or opened, it
 is the responsibility of the recipient to ensure that they are virus free
and no responsibility is accepted by North of Scotland Water Authority for
any loss or damage arising in any way from receipt or use thereof.


----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to