The following example shows how to rename a file:
var ItemIdList: IItemIdList; begin ItemIdList := TJamItemIdList.Create('C:file.exe'); TJamFileOperation.Rename(ItemIdList, 'New name.exe'); end;