RootDirectory Object

The RootDirectory object controls the root directory of the CD.

Members Table

    The following table lists the members provided by the RootDirectory object.

    Collections Description
    Directories List of subdirectories.
    Methods Description
    Clear Clears all files and subdirectories.
    CreateDirectory Creates a new subdirectory.
    Delete Deletes a subdirectory.
    GetDirectory Gets a given subdirectory.
    Import Imports a file or directory.
    Rename Renames a subdirectory.

    This object is available through the object CDRecording. Use the RootDirectory object to retrieve information about the CD root directory or to create a new directory.

    Note that the path of a file using SiteKiosk objects must be allowed in the
    SiteKiosk configuration (Security -> Access -> URL's With Script Permission)
    if it is not a browser skin file.
    The following example burns a complete directory to a data CD.

    <SCRIPT TYPE="text/javascript">
    if (SiteKiosk.CDRecording.RecorderState)
       SiteKiosk.CDRecording.RecordMode = 0;
       SiteKiosk.CDRecording.Title = "My new CD";
       SiteKiosk.CDRecording.Record(false, true);

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

Back to top