# GetDirectory Method The GetDirectory method gets a given subdirectory. Syntax
    [obj=] SiteKiosk.CDRecording.RootDirectory.GetDirectory(name)
Parameters
name | String that specifies the name of the subdirectory.
Return Value Returns a CDDirectory object representing the subdirectory. Remarks None. Examples The following example shows how to get a subdirectory of the root directory.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    newDir = SiteKiosk.CDRecording.RootDirectory.GetDirectory("dir");
    </SCRIPT>
Applies to SiteKiosk v6.0 (and later versions). Back to top