Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Done DIR /G:size

Charles Dye

Super Moderator
May
4,947
126
Staff member
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.)
 
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.
 
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.

Sweet!

(Googling TIMEDIR gives your page as the first hit.)
 

Similar threads

Back
Top