file_rename (char* oldname, char* newname)

Renames the file"oldname" in the SAVEDIR folder to"newname".

Parameters:

oldname original name of the file (char* or STRING*).
newname new name of the file (char* or STRING*).

Returns:

Pointer to newname if the command was successful, otherwise 0.

Speed:

Slow

Example:

// rename office2.sav to office3.sav
file_rename("office2.sav","office3.sav");

See also:

file_cpy, file_delete