I have a server with a lot of folders in d:\files. I'm wondering if there's a way via batch file to query that folder for a subfolder listing but also get the total size of each of those subfolders and export that to a text file.
For example: say d:\files has 9 subfolders. The script would need to query d:\files and list those 9 subfolders (and only those 9, not the entire tree) and then list the total data size for each of those 9 subfolders. That info is then saved to a text file.