If you are on Windows you can use the following script to get the amount of
free space on your hard drives...

<CFSCRIPT>
fs = CreateObject("COM", "Scripting.FileSystemObject");
Cdrive = fs.GetDrive("c:");
Cavail = Cdrive.AvailableSpace;
Ddrive = fs.GetDrive("d:");
Davail = Ddrive.AvailableSpace;
</CFSCRIPT>

Cheers,

Jeff Garza

----- Original Message -----
From: Troy Montour
To: CF-Talk
Sent: Thursday, January 22, 2004 1:15 PM
Subject: Checking HD/folder space

Hello,
working on a file management piece for our intranet I have everything done
but one piece to report how much hd/folder space is left.

anything out there that can do this for CF?

also if this is ran on a shared enviroment will it report what my space is
availible or the whole HD?

Thank you in advance
Troy Montour
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to