...check if a path exists?

Author: Simon Grossenbacher
Homepage: http://www.swissdelphicenter.ch

Category: Files

uses FileCtrl; 

procedure TForm1.Button1Click(Sender: TObject); 
begin 
  if 
DirectoryExists('c:\windows') then 
    
ShowMessage('Path exists!'); 
end;

 

printed from
www.swissdelphicenter.ch
developers knowledge base