Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADIR optimization
Message
From
13/08/2001 11:34:42
 
 
To
12/08/2001 23:11:27
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00542818
Message ID:
00543056
Views:
31
>Both returns result in a flash. After second verification, for that one, I only need count from the directory and not on a scope. So, as long as I only need the count without the scope, I'll use the FileSystemObject. If I ever need a scope, I'll switch to Larry's suggestion.

Its a shame that NOCONSOLE doesn't work on DISPLAY FILES for DIR (even though the Intellisense window says they do, otherwise, you coudl try something like:
DIR \g5\imsdev\data\*.JPG TO FILE textdir.txt
?OCCURS('.JPG', FILETOSTR('textdir.txt'))
and see how that compares. It would also be nifty if those procedures could go to a variable, but I doubt it would be used enough to make a difference.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform