Re: [WIN] drive space used != total file space used; whynot?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Bernie,

You're right, I *did* forget about the swap file!
But I'm not sure that's it, because "help" says about the swap file:
"Whenever possible, let Windows manage your virtual memory. Windows chooses
the default setting based on the amount of free hard-disk space. The swap
file then shrinks and grows dynamically based on actual memory usage."

Not sure if that means the space used for swap file would be included in
"properties" return of drive space used or not.

 But I'll probably ignore the discrepancy since my directory sizes are
accurate, and that's what I was trying to get.  Drive size was just a cherry
on top, never expected it to be a problem.

Thanks.

Dan

----- Original Message -----
From: "Bernie Ryan" <xotron at localnet.com>
To: "EUforum" <EUforum at topica.com>
Sent: Saturday, February 09, 2002 8:17 PM
Subject: RE: [WIN] drive space used != total file space used; whynot?


>
>
> Dan Moyer wrote:
> > On Win98 2nd ed, if I right-click on all top-level directories/folders
> > on a
> > drive, select "properties", and record the number of bytes USED for each
> > directory(not just the sum of the size of the files in them), and then
> > sum
> > all directories, and then do the same "properties" query for the DRIVE
> > itself, the sums for all directories does NOT equal the "used space" in
> > bytes for the drive.  Can anyone tell me why?
> >
> > I was making a utility to show all directories in descending order of
> > space
> > used on the drive for each, and it finally works, except the sum of the
> > (correctly reported) sizes of all the directories doesn't equal the
> > "properties" reported size of the drive itself.
> >
>
> Dan:
>    Maybe you forgot about the windows SWAP file which
>    probably is not counted in your directory byte count
>    but shows up as harddrive bytes used.
> Bernie
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu