Hello Cybex and Welcome to KORG

We have UDFs for such, you could also have the new version of RoboCopy from Microsoft tell you that as well.

fnGetFileProp() - Uses FSO to retrieve file properties
http://www.kixhelp.com/udfs/udf/83404.htm