I'm sure someone will come up with a better solution, but you could use cfexecute to run a server command. In Linux you could get it pretty easily, but in Windows the best I can think of is doing a 'dir /S' and parsing the output to grab the total at the end (using a Regex).
> -----Original Message----- > From: Srinivasa Teja Palla [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 30, 2006 12:20 PM > To: CF-Talk > Subject: get directory size > > is there no other easy way to get the directory size than > listing and going thru all its contents, adding their sizes? > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236603 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54