Jean-René,
Take care to check previous existence of a file with the same name as the "new" name of the file to be renamed, because if it already exists you'll get a "file already exists error", perhaps you'd want to delete it first:
If File ("NewName.ext")
Delete file NewName.ext
endif
Rename OldName.ext To NewName.ext
Fernando