Directory Size

The Directory Size command gets the size and number of files in the specified directory. All files in subdirectories are counted.

Path.
Specify the full or relative path to the directory about which you want to get information.

Result Variable
Specify the name of the variable where the total size of files in the directory will be written. In addition, a variable object with the same name with the following fields will be created:

  • size - size of all files in the directory.
  • files - number of files in the directory.
  • dirs - number of subdirectories in the directory.

For example, if you specified the variable name di, you can get such values:

1#di# = "134594040"
2#di.size# = "134594040"
3#di.files# = "253"
4#di.dirs# = "12"
Online Demo
Downloads Documentation Scripts Support
English
Русский