Windows Vista Forums

Folder Size Multiple Directories
  1. #1


    Yorgy Guest

    Folder Size Multiple Directories

    Hello,

    Can someone please tell me if there is a script out there that would collect
    all folder sizes in a Windows Server 2003 Directory? Basically, we are
    trying to determine what are the sizes in a home directory for 250 users.

    Looking forward to your response.



    Thank you
    Yorgy


      My System SpecsSystem Spec

  2. #2


    Pegasus \(MVP\) Guest

    Re: Folder Size Multiple Directories


    "Yorgy" <georgei@xxxxxx> wrote in message
    news884A196-863F-490C-8340-F1AA42CA4AAC@xxxxxx

    > Hello,
    >
    > Can someone please tell me if there is a script out there that would
    > collect all folder sizes in a Windows Server 2003 Directory? Basically, we
    > are trying to determine what are the sizes in a home directory for 250
    > users.
    >
    > Looking forward to your response.
    >
    > Thank you
    > Yorgy
    There are many tools you can download to perform this task - check Google
    for strings such as "Folder size". You can even use a humble batch file like
    this one:
    01. @echo off
    02. set Home=E:\User Shares
    03. echo Folder list compiled on %date% > c:\Folders.txt
    04. echo ====================================== >> c:\Folders.txt
    05. for /d %%a in ("%Home%\*.*") do call :Sub %%a
    06. notepad c:\Folders.txt
    07. goto :eof
    08.
    09. :Sub
    10. echo Processing "%*"
    11. for /F "delims=" %%b in ('dir "%*" /s ^| find /i "File(s)"') do set
    Summary=%%b
    12. echo %* %Summary% >> c:\Folders.txt



      My System SpecsSystem Spec

  3. #3


    Yorgy Guest

    Re: Folder Size Multiple Directories

    Thank you!

    "Pegasus (MVP)" <I.can@xxxxxx> wrote in message
    news:%23sxOZP7jJHA.4448@xxxxxx

    >
    > "Yorgy" <georgei@xxxxxx> wrote in message
    > news884A196-863F-490C-8340-F1AA42CA4AAC@xxxxxx

    >> Hello,
    >>
    >> Can someone please tell me if there is a script out there that would
    >> collect all folder sizes in a Windows Server 2003 Directory? Basically,
    >> we are trying to determine what are the sizes in a home directory for 250
    >> users.
    >>
    >> Looking forward to your response.
    >>
    >> Thank you
    >> Yorgy
    >
    > There are many tools you can download to perform this task - check Google
    > for strings such as "Folder size". You can even use a humble batch file
    > like this one:
    > 01. @echo off
    > 02. set Home=E:\User Shares
    > 03. echo Folder list compiled on %date% > c:\Folders.txt
    > 04. echo ====================================== >> c:\Folders.txt
    > 05. for /d %%a in ("%Home%\*.*") do call :Sub %%a
    > 06. notepad c:\Folders.txt
    > 07. goto :eof
    > 08.
    > 09. :Sub
    > 10. echo Processing "%*"
    > 11. for /F "delims=" %%b in ('dir "%*" /s ^| find /i "File(s)"') do set
    > Summary=%%b
    > 12. echo %* %Summary% >> c:\Folders.txt
    >
    >

      My System SpecsSystem Spec

Folder Size Multiple Directories problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP Connecting to multiple Active Directories kah521 VB Script 1 11 Feb 2009
Copy files from multiple directories.. Steve Grosz PowerShell 8 12 Jan 2009
How to delete multiple mail sub-directories User66 Live Mail 2 31 Aug 2008
move directories and files that exist in a sub folder - problem Firewalker82 VB Script 1 02 Aug 2008
Folder Size in Size Column AaronSchell Vista file management 4 05 Feb 2008