# Noob question about fetching folder size

**URL:** <https://resource.dopus.com/t/noob-question-about-fetching-folder-size/24803>\
**Category:** Help & Support\
**Tags:** script\
**Created:** [February 4, 2017, 5:38pm UTC](https://resource.dopus.com/t/noob-question-about-fetching-folder-size/24803 "2017-02-04T17:38:10Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)\
**Post date:** [February 4, 2017, 6:31pm UTC](https://resource.dopus.com/t/noob-question-about-fetching-folder-size/24803/2 "2017-02-04T18:31:58Z")

</div>

You'll definitely need to understand VBScript or JScript to write a script, especially one involving caching data and using the cached data lately, which isn't trivial.

Opus provides a helper for enumerating folder contents:

> [@Scripts (JS & VBS) Snippet: Enumerating files and metadata tags](https://resource.dopus.com/t/scripts-js-vbs-snippet-enumerating-files-and-metadata-tags/18439):
>
> Below are scripts which demonstrate how to use [DOpus.FSUtil.ReadDir](https://docs.dopus.com/doku.php?id=reference:scripting_reference:scripting_objects:fsutil) and the [FolderEnum](https://docs.dopus.com/doku.php?id=reference:scripting_reference:scripting_objects:folderenum) object, for reading directory listings, as well as the [Metadata.tags](https://docs.dopus.com/doku.php?id=reference:scripting_reference:scripting_objects:metadata) collection for listing any user-defined tags set on files. The two scripts below do the same …

---

_[View the full topic](https://resource.dopus.com/t/noob-question-about-fetching-folder-size/24803)._
