Noob question about fetching folder size

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: