Mega Code Archive

 
Categories / Delphi / Files
 

Check if a path exists

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