<cfobject type="COM" name="fso" class="Scripting.FileSystemObject"
action="CREATE">
<cfset path = "c:\temp\">
<cfset foldObj = fso.GetFolder(path)>
<cfoutput>#path# #foldObj.Size# bytes</cfoutput>

jon
----- Original Message -----
From: "Kevin Schmidt" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, April 15, 2002 5:39 PM
Subject: Directory Size


> Hi Gang!
>
>
>
> Is there anyway to find out the total size of all files in a directory
> including subfolders?  Similar to when you right click on the folder and
> select properties.  A com object, or something like that?
>
>
>
> Thanks,
>
>
>
> Kevin
>
>
>
>
> 
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to