I have no idea if this will help - I haven't tested it ...
Will a WIN32_FIND_DATA from a FindFirst for the directory itself give the
size ?

HTH

Regards
Paul McKenzie
Analyst Programmer
SMSS ltd.

----- Original Message -----
From: "Jeremy North" <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Monday, December 09, 2002 10:07 AM
Subject: Re: [DUG]: Bugging me - how to get DIRsize and FILEsize


>
>
>
>
>
> Don't think you can get the directory size by accessing a "property".
> Windows seems to calculate the size once you bring up the properties
dialog
> in explorer.
>
> JED
>
> [EMAIL PROTECTED] wrote on 08/12/2002 10:07:25 AM:
>
> > Hi all,
> > I want to iterate through a stringlist of files and directories to
> determine
> > their total size.
> > If it is a directory, surely I can get the size of the directory by
> property,
> > but do you think I can find that information anywhere?
> >
> > Any tips?
> > Thanks,
> > Alistair+
> >
> >
> --------------------------------------------------------------------------
-
> >     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> >                   Website: http://www.delphi.org.nz
> > To UnSub, send email to: [EMAIL PROTECTED]
> > with body of "unsubscribe delphi"
> > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
>
>
>
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the [EMAIL PROTECTED]
>
> --------------------------------------------------------------------------
-
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
> Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
>


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to