Folder Size
-
Hi, Is there any machenism using Shell or anything else to calculate the size of a folder?
Check XFolderSize[^] from
Hans Dietrich
. -
Check XFolderSize[^] from
Hans Dietrich
. -
Is there any API like when window context menu propprty method? As windows calculates size very fast, there should be any API like this.
MPTP wrote:
there should be any API like this.
Not in my information. There needs to be a class(article) for this requirement. So you should understand there is no such API.
MPTP wrote:
As windows calculates size very fast
Have you tried class in given link ? Isn't that fast ?
-
MPTP wrote:
there should be any API like this.
Not in my information. There needs to be a class(article) for this requirement. So you should understand there is no such API.
MPTP wrote:
As windows calculates size very fast
Have you tried class in given link ? Isn't that fast ?
prasad_som wrote:
Not in my information.
You are right. I checked the call stack using process explorer while the size is been updated in the property sheet. It is using some function called
SizeThreadProc()
in theshell32.dll
. May be if we can figure out the prototype of the funcion, it will be a nice hack. :) -
prasad_som wrote:
Not in my information.
You are right. I checked the call stack using process explorer while the size is been updated in the property sheet. It is using some function called
SizeThreadProc()
in theshell32.dll
. May be if we can figure out the prototype of the funcion, it will be a nice hack. :)Naveen wrote:
SizeThreadProc()
Looks like callback function. Must be adding up size of individual file in folder structure.
-
Naveen wrote:
SizeThreadProc()
Looks like callback function. Must be adding up size of individual file in folder structure.
-
hmmm... BTW happy to see you back on codeproject. What happened in between?
Naveen wrote:
BTW happy to see you back on codeproject.
Thanks ! And congrats for being awarded as MVP.
Naveen wrote:
What happened in between?
Changed employer, Changed country and busy with work. :)