file.bytesInFolder
| Syntax |
file.bytesInFolder (path)
|
| Params |
path is a legal path name to the folder whose bytes you wish to count.
|
| Action |
Counts the number of bytes of all files stored in the indicated folder and its sub-folders.
|
| Returns |
Number of bytes in the indicated folder.
|
| Examples |
file.bytesInFolder ("C:\\WINNT\\") » 347978674
string.megabyteString (file.bytesInFolder (file.folderFromPath (Frontier.getProgramPath ())))
file.bytesInFolder ("System:System Folder:")
|
| Notes |
This verb determines the count by traversing the whole structure, which can be time-consuming.
|
| See Also |
file.size
|