Delete Method



 
The Delete method deletes a subdirectory of the root directory.


Syntax

    SiteKiosk.CDRecording.RootDirectory.Delete(name)
    
Parameters
    name String that specifies the name of the subdirectory.
Return Value
    None.
Remarks
    None.
Examples
    The following example creates and deletes a subdirectory in the CD root directory.

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

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

Back to top