# Clear Method The Clear method clears all files and subdirectories of the directory. Syntax
    CDDirectory.Clear()
Return Value None. Remarks None. Examples The following example clears all files and subdirectories of the first subdirectory of the root directory.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    subDir = SiteKiosk.CDRecording.RootDirectory.Directories.Item(1);
    subDir.Clear();
    </SCRIPT>
Applies to SiteKiosk v6.0 (and later versions). Back to top