SiteKiosk Documentation
One Step Back

Rename Method




The Rename method renames a subdirectory of the root directory.


Syntax

    SiteKiosk.CDRecording.RootDirectory.Rename(oldname, newname)
    
Parameters
    oldnameString that specifies the old name of the subdirectory.
    newnameString that specifies the new name of the subdirectory.
Return Value
    None.
Remarks
    None.
Examples
    The following example creates and renames a subdirectory of the root directory.

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

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

Back to topVolver arriba

© 1997-2011 PROVISIO - Aventura, EEUU - Muenster, Alemania
Sitekiosk.es / Grupo24, Madrid, España -