We help IT Professionals succeed at work.

Size of archive files in each user directory reporting

I have 300 users.   All of our users have an archive folder in their home directory.  I need to find a way to create a report, Txt file, or something that can show the size of those folders and all of their contents.
Watch Question


Got my answer.  

for /f "delims=:" %i in (c:\home.txt) do diruse /s /m y:\%i\archive >>c:\archives\size.txt

once the file is created I just imported it into excel and cleaned it up.  :)
Because you have presented a solution to your own problem which may be helpful to future searches, this question is now PAQed and your points have been refunded.


Explore More ContentExplore courses, solutions, and other research materials related to this topic.