<cfparam name="variables.driveLetter" default="C" /> <cfobject type="COM" action="create" class="scripting.fileSystemObject" name="fileSystemObject" /> <cfset variables.freeSpace = fileSystemObject.getDrive(driveLetter).freeSpace />
HTH -----Original Message----- From: J W [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 11, 2006 9:50 AM To: CF-Talk Subject: Free Space on Drive. Pretty Sinple but I couldn't find an answer searching... SO.. Is there any Coldfusion way to grab the free space on a particular drive? I know I can grab file sizes and such with cfdirectory and cffile, but really couldn't find an answer for free space. Thanks, Jeff ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229206 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

