Couldn't you just run that script for each drive you have and add the totals?
On 3/23/07, Adkins, Randy <[EMAIL PROTECTED]> wrote:
> Anyone know of a utility that I can use to determine how much FREE Hard
> Drive space is available on a server?
> Not a drive, but the server as a whole.
>
> I know there is a script on CFLIB, that will obtain the free space on a
> drive:
>
> function AvailableSpace(drvPath)
> {
> Var fso = CreateObject("COM", "Scripting.FileSystemObject");
> Var drive = fso.GetDrive(drvPath);
> Return drive.AvailableSpace;
> }
>
> But I need it for the entire box not just a drive or mapped drive.
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 by AdobeĀ®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7.
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273619
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4