# Directories Collection The Directories collection contains a list of subdirectories. Members Table The following table lists the members provided by the Directories collection.
Members
Properties | Description
Count | Contains the number of subdirectories.
Methods | Description
Item | Returns one item of the collection.
Remarks This collection is available through the object RootDirectory and the CDDirectory object. Use the Directories collection to receive information about the subdirectories of the root directory. Note that the path of a file using SiteKiosk objects must be allowed in the SiteKiosk configuration (Security -> Access -> URL's With Script Permission) if it is not a browser skin file. Examples The following example shows the number of subdirectories of the root directory.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    alert(SiteKiosk.CDRecording.RootDirectory.Directories.Count);
    </SCRIPT>
Applies to SiteKiosk v6.0 (and later versions). Back to top