Re: folder size
- From: "Roger Ansell" <notmyreal@xxxxxxxxxxxxxxxx>
- Date: Fri, 1 Sep 2006 04:42:19 +0930
Hi Olaf,
Thanks for that - haven't used filer.dll in years and had almost
forgotten it existed. I'll do some tests.
Cheers,
-Roger
"Olaf.Doschke" <b2xhZi5kb3NjaGtlQHNldG1pY3MuZGU@xxxxxxxxxxxxx> wrote in
message news:uQdNzSRzGHA.4452@xxxxxxxxxxxxxxxxxxxxxxx
Hi Roger,
Check out filer.dll (ole class "filer.fileutil"). I recently measured,
it's way faster in reading out the files including subfolders than a
recursion with ADIR().
eg a search on "*.mp3" within "C:\" and subfolders finished in
seconds(1-2 minutes), while I canceled the recursion approach,
that didn't return within 15 minutes.
I haven't done elaborate tests though, if eg there is some caching
effect and the routine running second will profit from that and
always be faster.
filer results in a files collection. It may sum up the size by itself,
or you just have to sum up each single files size.
Bye, Olaf.
.
- References:
- folder size
- From: dave
- Re: folder size
- From: Roger Ansell
- folder size
- Prev by Date: Re: [sql server] packing tables/database?
- Previous by thread: Re: folder size
- Next by thread: [sql server] packing tables/database?
- Index(es):
Relevant Pages
|