Rename and existing folder at the specified path.
Syntax |
renameFolder(string oldPath, string newPath): bool |
---|---|
oldPath |
Path of the existing folder |
newPath |
Path of the new folder |
Result |
return operation logical result |
Notes:
•Depending on the host platform, the folder may have to be in the same base path in order to be renamed.
•Relative path will be referred to current directory path (see dirPath() method).