Page 1 of 1

Size of each folder size'd folder - how?

Posted: 26 Apr 2017 16:26
by SkyFrontier
report("{Size}", "$tk");
nor
filesize("$tk");

will not deliver the size of a "show folder size"'d folder.

get("BytesSelected") has (quoting "Help"): "If folder sizes are shown then they are included in the byte count", but it can't have tokens support.

What am I doing wrong here?

Re: Size of each folder size'd folder - how?

Posted: 26 Apr 2017 16:34
by highend

Code: Select all

$rawBytes = foldersize($tk, "<r>");
?

Re: Size of each folder size'd folder - how?

Posted: 26 Apr 2017 16:37
by SkyFrontier
thanks, highend!
Forgot about FOLDERsize. :roll:
Thanks again!