I noticed a bit of code recently that returns a list of files in a directory
using FindFirst ... FindNext procedures. 
 
The programmer then strips the first two items from the string list with the
assumption being that these will always be '.' and '..' directories.
 
Safe assumption?
 
(I will probably just change the FindFirst to return
faAnyFiles-faDirectories which also works but just wondered..)
 
Grant Black
Team Leader - PC Tools
SmartMove (NZ) Ltd
Phone:   +64 9 361-0219 extn 719
Email:     [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
Web :     http://www.smartmove.co.nz <http://www.smartmove.co.nz/> 
 
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to