use an IShellFolder http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/ifaces/ishellfolder/ishellfolder.asp
-----Original Message----- From: Jeremy North [mailto:[EMAIL PROTECTED]] Sent: Monday, 9 December 2002 10:07 a.m. To: Multiple recipients of list delphi 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/