Du läser för närvarande dokumentationen för:
ECF_Rename
The ECF_Rename function renames a file or directory.
ECF_ErrorCode ECF_Rename(
   const char *oldPath,
   const char *newPath
);
Parameters
oldPath
This is the path of the file or directory to rename.
newPath
This is the new path of the file or directory. The maximum total path length including the trailing NUL character is 260 characters.
Return value
Returns one of the EcFAT error codes (ECFERR_SUCCESS on success)
Remarks
oldPath and newPath must be on the same drive. The subdirectories in the new path does not need to exist. If they don't exist, they will be created. You must not rename an open file or a directory that is being scanned.