Hi David,
One way is to use SYS(2000). See below.
SYS(2000) will return the name of each file in the path you have given, one file name for each pass through the loop. Write the code inside the loop to do whatever you want to do. (Record the file name in a table, and other information about the file by using other SYS() commands.)
______________________________________
pcFileName = (SYS(2000,"*.dbf"))
DO WHILE ! EMPTY(pcFileName)
pcFileName = (SYS(2000,"*.dbf",1))
ENDDO
______________________________________
I hope this helps.
Gaylen Miller
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only