-
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
-
Re: Query Disk Quotas
I did a quick Google search and found this which might help http://www.windowsitpro.com/article/...ogrammatically
-
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.