RenameFolder

<< Click to Display Table of Contents >>

 

RenameFolder

RenameFolder(OldName, NewName)

Allows renaming a Folder in an open project file in E3 Studio, whether it belongs to the Domain or not. The OldName parameter is the full path to the Folder to rename, and the NewName parameter is the new name, without a path.

 

NOTES

If Folder's full path in the OldName parameter, or the new name in the NewName parameter, starts with a character that is not a letter (with no diacritical marks or "ç"), or if it contains any character that is not a letter (with no diacritical marks or "ç"), a number (0-9), or an underscore, users must surround that name with brackets.

If the NewName parameter is invalid, or if the OldName parameter contains a syntax error, or else the path indicated by OldName is not found on any open project file, a script error occurs.

Password-protected project files must be unlocked before using this method.

Was this page useful?