The API function to call is FindFirstFile. Like Delphi's own FindFirst, it returns attributes that include whether something is a directory or not. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Jeremy Coulter > Sent: Tuesday, 15 June 1999 21:53 > To: Multiple recipients of list delphi > Subject: [DUG]: Destiguishing Directories from files > --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz