Folder.Size (Property)

The size of the folder contents.

Availability:

JScript - 3.0
Internet Explorer - 4.0
Property/method value type:Number primitive
JavaScript syntax:IEmyFolder.Size

The total size of all the files in the folder measured in bytes, is yielded by this property. At least this is consistent with the size property belonging to the File objects. It remains to be seen whether this actually yields the same value as you would get if you obtained the size properties from every file in the folder and summed them yourself. There may be invisible files and this property should include their sizes too.

See also:File.Size