Acutally both thing you mention seemd to apply:

Code:

$e = "%userprofile%\Mijn documenten"
$mydocs = dirplus($e, "/s")
for each $file in $mydocs
if NOT GetFileAttr($file) = 16 ; not a directory
$docfiles=$docfiles+GetFileSize($file)
endif
next
? $docfiles + " used by My Documents



Reports the correct size now.

Thanks
Henk