Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Function ADIR()
Message
 
To
10/12/2003 13:21:17
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00857766
Message ID:
00857802
Views:
29
This message has been marked as a message which has helped to the initial question of the thread.
In addition to what others told, you can use this:
oFSO = CREATEOBJECT("Scripting.FileSystemObject")
ofso1=oFSO.GetFolder(yourfolder)

FOR EACH oitem IN oFSO1.Files
?	oItem.NAme
* do other what you need here
endfor....
>Hello people,
>I have had a problem with Adir(). I am trying create a array with all files JPG in one diretory. This directory have 15383 images. Whem I create this array, fox give me this message: "Invalid Subscript reference".
>What I can do to read all files in this directory?
>
>Thanks!
>
>Rômulo
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform