Drives.Count : Drives « MS JScript « JavaScript Tutorial





The Count property contains the number of items in the collection.

<html>
    <script language="JScript">
    <!--
    var fileSysObj = new ActiveXObject("Scripting.FileSystemObject");

    document.write("There are ",fileSysObj.Drives.count," drives.");
    -->
    </script>
    </html>










32.6.Drives
32.6.1.Drives
32.6.2.Drives.Count
32.6.3.Drives.Item()