I want a simple solution for list of folders and size of them in either txt or csv format.
I use this code for folder list
dir C:\\Temp\\*.* /b /a:d
if you are using windows 7 or new use powershell and type command
ls- r >> log.txt
it will list all the files in current directory along with file size in bytes to log file.