Get folder size
New in 2021!   Eonza automation software - free, open source cross-platform automation software for easy creation and management of scripts.

Get folder size

Gets the summary size of the specified folder or drive.

Description
Optionally, you may add comments here describing the purpose of this element.
Directory name
Specify a directory or a drive where you want to get the summary size of the files.
c:\temp
d:\
Filename or wildcard
Specify the wildcard of files that you wish to calculate.
*.*
*.mp3
Variable name
The name of the variable the size information will be written to. This command specifies some variables with different postfix and assign them the according information.
There are the following result variables:

Variable nameDescription
[var] The summary size in bytes.
[var]kb The summary size in kbytes.
[var]mb The summary size in mbytes.
[var]count The count of the found files.

Example, if you specified variable name as fldsize then

#fldsize# - the summary size 
#fldsizecount# - the count of the files 
Recursive search
If you uncheck this box, you get the summary size of files without subfolders.