How to check if a directory exists?
procedure TForm1.Button1Click(Sender:TObject);
beginÂ
if DirectoryExists(‘C:\Data’) then
beginÂ
ShowMessage(‘Directory already exists’);
end;
end;
How to check if a directory exists?
procedure TForm1.Button1Click(Sender:TObject);
beginÂ
if DirectoryExists(‘C:\Data’) then
beginÂ
ShowMessage(‘Directory already exists’);
end;
end;