File/Folder Size

Returns the size of a file or folder in bytes.

Privileges

Normal

Input Parameters
Name Type Required Description
Folder String Yes The path of the file or folder of which to obtain the size.
Recurse Boolean No Select to include all the files/folders from subdirectories contained in the path, into the size calculation.
HIdden Boolean   Select to include all the hidden files into size calculation.

Output Parameters

Name Type Description
FolderSize Number The size of the file or folder in bytes.
File Count Number Total number of files on which size calculation was made.

Example Input Parameters

Name Type Required Example
Folder String Yes C:\folder1\folder2