Mega Code Archive

 
Categories / Delphi / Files
 

How to check if a path exists

Title: How to check if a path exists uses FileCtrl; procedure TForm1.Button1Click(Sender: TObject); begin if DirectoryExists('c:\windows') then ShowMessage('Path exists!'); end;