|
-
Aug 30th, 2012, 06:03 PM
#1
Thread Starter
Lively Member
Query Disk Quotas
We are running Windows XP with a WinServer 2008 file server. I have enabled volume level quotas. I have written a program in VB6 that our users can run to find all of the files on the network that are owned by them. That way they can see where there quota is being used up. That is working great, but I would like to add the functionality of checking their quota size and how much is remaining, etc.
Does anyone know how I can query a users quota? I have not had much luck searching the internet. If someone can maybe point me in the right direction, I may be able to figure it out.
Thanks
-
Aug 31st, 2012, 01:42 AM
#2
Re: Query Disk Quotas
I did a quick Google search and found this which might help http://www.windowsitpro.com/article/...ogrammatically
-
Aug 31st, 2012, 09:50 AM
#3
Thread Starter
Lively Member
Re: Query Disk Quotas
Thanks for the response.
I played with the code from that page a little bit and it appears to only work if the quotas are implemented on the client machine on a local hard drive. It fails if I point it towards a network drive and it returns 0 on the local drive.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|