Rename Method
The Rename method renames a subdirectory of the root directory.
Syntax
SiteKiosk.CDRecording.RootDirectory.Rename(oldname, newname)
|
Parameters
oldname |
String that specifies the old name of the subdirectory. |
newname |
String that specifies the new name of the subdirectory. |
Return Value
Remarks
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 top