Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Function ADIR()
Message
 
To
11/12/2003 13:33:27
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00857766
Message ID:
00858552
Views:
16
>>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....
>>
>>
>
>Just thought I'd point out the WSH is way, way slower here than using SYS(2000) or going right to the API. Last time I tested, it was 20 to 30 times slower with the WSH.
>
>Tamar

Thanks, good to know this.
Previous
Reply
Map
View

Click here to load this message in the networking platform