SPECIAL OFFER        Order and save right now!
20% off with the 729824315 dicscount code for Ultimate Pack and any another product for Delphi from Greatis Programming!

⤷ Rename directory

Use MoveFile to rename existing directory.

procedure TForm1.Button1Click(Sender: TObject);
var
  st1, st2: PChar;
begin
  st1:='c:\OldDirectory';
  st2:='c:\NewDirectory';
  MoveFile(st1, st2);
end;
Related components
TFileSearch
TFolderMonitor
TFileVersion
More for developers
Databases for Amazon Associates
Amazon Categories
Amazon Nodes