CreateDirectory Method



 
The CreateDirectory method creates a subdirectory in the root directory.


Syntax

    [obj=] SiteKiosk.CDRecording.RootDirectory.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 CD root directory.

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

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

Back to top