DIR /G:size

Charles Dye

Super Moderator
Staff member
May 20, 2008
3,502
46
Albuquerque, NM
prospero.unm.edu
#1
It might be handy if we could specify an allocation unit size for DIR /G. For example,

Code:
dir /a /h /s /u2 /g:8192 c:\temp\*
to assume 8K allocation units, rather than the allocation unit size of drive C:. (This feature would be useful e.g. for estimating the disk space needed to copy a directory tree to different media.)
 
#2
That is what I implemented on my timedir program -- email jimrcook at
gmail.com if you're interested. I've used it just as you suggest.

On Mon, Jun 14, 2010 at 3:34 PM, Charles Dye <>wrote:


> It might be handy if we could specify an allocation unit size for DIR /G.
> For example,
>
>
> Code:
> ---------
> dir /a /h /s /u2 /g:8192 c:\temp\*
> ---------
> to assume 8K allocation units, rather than the allocation unit size of
> drive C:. (This feature would be useful e.g. for estimating the disk space
> needed to copy a directory tree to different media.)
>
>
>
>
>


--
Jim Cook
2010 Sundays: 4/4, 6/6, 8/8, 10/10, 12/12 and 5/9, 9/5, 7/11, 11/7.
Next year they're Monday.