Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to work with files in system/hidden folders
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00314887
Message ID:
00431317
Views:
46
Nadya,

Go ahead and FAQ it is you want. There's some discussion of it over on the Wiki too. There's no doubt that a few calls to a builtin function is going to be significantly faster than thousands of calls to a COM object.

>I've just ran tests on my local Windows 95 machine c drive:
>Results: 19866 files in 4 sec by adir and in 78 sec. by FSO. (time periods are the same in bunch of tests).
>Also I looked in MSDN online help on Scripting.FileSystemObject and I didn't find a way to specify file sceleton, like "*.scx" (we can do it in adir())
>
>I modified a little these programs (I'm going to implement it for searching specific string in specific Form's method Thread #430305)
>
>BTW, I think both approaches should be placed in FAQ section here, because they are very important. What do you think?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform