ShellBrowser Delphi Components Documentation
ContentsIndexHome
Example

The following example shows how to rename multiple files. A number suffix is automatically added to the new name.

  var
    Files: IItemIdListCollection;
  begin
    Files := TItemIdListCollection.Create;
    Files.Add('C:file1.exe');
    Files.Add('C:file2.exe');
    TJamFileOperation.Rename(Files, 'New name.exe');
  end;