Hi, I need to know path and size for files in they quota size. Can you give
me tips about your asp ore publish it. Thank you, it be very usefull because
the users say that they dont have any files in a share volume and we are
having space problems.
--
C.R. [mx]
MCSE
"(E-Mail Removed)" wrote:
> Someone knows how windows calculate quotas?
>
> I have made an ASP script that uses fsutil to retrive all the files of
> one user on a disk. Then I get the size of the files and I show the
> results to the user.
> The problem is that the size that I calculate is not the same that
> windows quota calculate.
>
> I have tried to use file sizes, to use real disk space (round the file
> sizes to 4K), and another strategies.
> But I don't find what's the strategy of windows. I have made this
> tests:
>
> Deleting 1 file of 145 bytes --> Quota -1K
> Deleting 1 file of 39871 bytes --> Quota -41K
> Deleting 1 file of 8833 bytes --> Quota -13K
> Deleting 1 file of 0 bytes --> Quota -0
> Deleting 1 file of 349427 bytes --> Quota -346K
> Deleting 1 file of 2277376 bytes --> Quota -2226K
>
> Someone fine some logic in the calculations?
>
> PD: Block size of my machine is 4K
>
>
|