Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

User profile sizes

  • 22-05-2009 11:50pm
    #1
    Closed Accounts Posts: 1,567 ✭✭✭


    i'm trying to find out ways to determine the size of user profiles on either windows 2000 or XP

    the only way i can think at the moment is by recursively enumerating every file in each profile and calculating the total, but is there an easier way?


Comments

  • Closed Accounts Posts: 1,567 ✭✭✭Martyr


    i found some simple script that will do the trick
    snippet stolen from http://www.visualbasicscript.com/m_51721/tm.htm

    [PHP]

    Set fso = CreateObject("Scripting.FileSystemObject")

    Set profiles = fso.GetFolder("C:\Documents and Settings")
    For Each user in profiles.SubFolders
    Wscript.Echo UCase(user.Name) & " uses " & user.size & " bytes."
    Next[/PHP]

    but anymore are welcome


Advertisement