Siebel eScript Language Reference > C Language Library Reference > Clib File and Directory Methods >
Clib Rename File Method
The Clib Rename File method renames a file. It returns one of the following values:
- If successful, then it returns the following value:
0
- If not successful, then it returns the following value:
Negative 1
Format
Clib.rename(oldName, newName)
Table 128 describes the arguments for the Clib Rename File method.
Table 128. Arguments for the Clib Rename File Method
|
|
oldName |
A string that contains the name of the file that this method renames. This name can be an absolute file name or a relative file name. |
newName |
A string that contains the new file name. |
|