Siebel eScript Language Reference > Siebel eScript Commands > File I/O Methods in eScript >
Clib.rename() Method
This method renames a file. Syntax
Clib.rename(oldName, newName)
|
|
oldName |
A string representing the name of the file to be renamed |
newName |
A string representing the new name to give the file |
Returns
0 if successful; otherwise, -1. Usage
This method renames a file. The oldName parameter may be either an absolute or a relative filename.
|