If you go to http://cflib.org, there's a ton of UDFs that use that object.

-----Original Message-----
From: Matthew Walker [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 5:27 PM
To: CF-Talk
Subject: RE: Directory Size


That's truly awesome! Can you do anything else cool with
Scripting.FileSystemObject?

-----Original Message-----
From: Jon Hall [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 16 April 2002 11:15 a.m.
To: CF-Talk
Subject: Re: Directory Size


<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
>
>
>
>
>


______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
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