The folder count is incorrect. In a given directory I want the name of the folder, the folder count, the individual file count in each folder, and the size of the folder. The folder count in each main folder is not rendering correctly. Thanks
Firstly, when posting code in the forum, please can you use the preformatted text </> button. It really helps us with readability, and copying and pasting your code (we don’t have to faff about replacing curly quote marks to get things working).
If you look in the properties of a given folder there is a list that details the type, location, size, etc. I want teh script to go in each folder and tell me how many the number of files, and folders.
Thanks but this is not my desired output. I need for the script to tell me the number of folders, individual files, as well as the size of each folder in EACH of the folders within the topmost folder. I hope you understand.
Thanks
I do understand. My code suggestion is not meant to be a complete solution. It’s meant to be food for thought for you to have an idea how to tackle this task.
Either you create a recursive function or you use a loop over all subfolders of your root folder.