Alternative to ADIR() functions
- From: "Sujata Kekare" <sujataknospam@xxxxxxxxxxx>
- Date: Tue, 6 Dec 2005 14:54:11 +1030
I am using the ADIR function to read the names of all picture files in a
particular folder into an array. I then append the names in the array into
a table. One of the users has more than 15000 files in their folder and get
an error message when the program reaches the line of code containing the
ADIR function. Does any one know an alternative way of getting file names
into a table ?
I have tried using RUN DIR >> X.TXT, but any file names greater than 8
characters are truncated. This doesn't happen when I actually use the DIR
command in a DOS window.
Commands like DIRECTORY and DISPLAY FILES, don't seem to create a file in a
format that can be imported into a dbf. Although I might have to work with
those if there is no other go.
Any ideas ?
TIA
Sujata
.
- Follow-Ups:
- Re: Alternative to ADIR() functions
- From: Matthew Reed
- Re: Alternative to ADIR() functions
- Prev by Date: Re: Task manager Memory usage
- Next by Date: Re: Alternative to ADIR() functions
- Previous by thread: Shortest route to VFP
- Next by thread: Re: Alternative to ADIR() functions
- Index(es):
Relevant Pages
|