CreateDirectory Method



 
The CreateDirectory method creates a subdirectory.


Syntax

    [obj=] CDDirectory.CreateDirectory(name)
    
Parameters
    name String that specifies the name of the new subdirectory.
Return Value
    Returns a CDDirectory object representing the new directory.
Remarks
    None.
Examples
    The following example creates a new subdirectory in the first subdirectory of the root directory.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    subDir = SiteKiosk.CDRecording.RootDirectory.Directories.Item(1);
    newDir = subDir.CreateDirectory("dir");
    </SCRIPT>
    

Applies to
    SiteKiosk v6.0 (and later versions).

Back to top