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.
Kitsap_TechnologyAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
EE_AutoDeleterConnect With a Mentor Commented:
swathipollepali,
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.

EE_AutoDeleter
0
 
Kitsap_TechnologyAuthor Commented:
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.  :)
0
All Courses

From novice to tech pro — start learning today.