Check If a Directory Exists
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;
...
...
...
...
...
0 comments Thursday 15 Feb 2007 | Delphi Tutorial | Files