Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning folders total from a drive(s)
Message
From
11/10/2001 07:58:59
 
 
To
11/10/2001 05:19:32
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00566830
Message ID:
00566867
Views:
17
Hi!

There are no other way but scanning all folders (that also could take a time). Windows system cannot tell total number of folders just quickly as if it stores that value somewhere on the disk. Probably other systems too, because sequrity and many other issues.

Usually, search progress displays just total number of files scanned and their size scanned so user can compare it to the total size of files on disk to see how far from the finish search is currently works. However, for search only in subfolder it is also problematic.

HTH.

>Hi
>
>Could anyone advise how to return the total number of folders that exists on a drive(s).
>
>It's for use in a progressbar calculation for a file search .prg
>
>TIA
>
>Dennis
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform