<html>
<script language="JScript">
<!--
var drivePath = "C:";
var fileSysObj = new ActiveXObject("Scripting.FileSystemObject");
var drive = fileSysObj.GetDrive(fileSysObj.GetDriveName(drivePath));
document.write("Available space for drive ",drivePath," is ");
document.write(drive.AvailableSpace);
-->
</script>
</html>
|