procedure TForm1.Button1Click(Sender: TObject);var
  Dir: string;
begin  Dir := 'C:\APPS\SALES\LOCAL';  if ForceDirectories(Dir) then
    Label1.Caption := Dir + ' was created'end;