Link to home
Start Free TrialLog in
Avatar of polygon
polygon

asked on

the fastest way to retrieve all directories on a drive?

Whould you tell me the FASTEST way to retrieve all directories on a drive.Is there any API function or something else that can help me? I use recursively call of Dir$ function but it takes 20s for ~13000 files and ~900 folders. Please help! (I've VB5.0 Enterprise Edition)
ASKER CERTIFIED SOLUTION
Avatar of wolfcrag
wolfcrag

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of msiman
msiman

Dear wolfrag,
Your answer is excellent.Thanks.
If you know something else that can help me you may email me at:
billy@sliven.osf.acad.bg