FileSystem.getFolderSize() This page was last modified over 30 day(s) ago and has 1 comment(s)


Back to FileSystem Class Summary

Availability
Windows, Mac OSX, Linux

Usage
mdm.FileSystem.getFolderSize(folderPath:String):Number

Parameters
folderPath:String - Path of folder to check.

Returns
A Number

Description
Returns the size of the specified folder in KB.

Notes
None

Example Code
var myFolderSize:Number = mdm.FileSystem.getFolderSize("c:\\");

mdm.FileSystem Class Example Downloads
No Example Downloads Available


User Comment by Paul Cripps on 21st June 2009 - 20:58
this actually returns bytes, NOT KBs..!

Registered Users must be logged in to 'MyAccount' to add a Comment - Log In Here
  After Logging In, Click Here to Refresh This Page