Register to post in forums, or Log in to your existing account
 

 Related 
Contents
File Library
  Delete
  DirExists
  DiskFree
  DiskSize
  Exists
  FileSearch
  FindFiles
  Attributes
  CurrentDir
  Date
  ReadOnly
  Open
  RemoveDir
  Rename
  CreateDir
  AttrStr
  Launch
  Tempfilename
  CopyFile
Related Links:
  Grid
  FindFiles
FindFiles [[File.FindFiles]] 
NOTE: This Design document is subject to change at any time.
FindFiles( Path: Widestring; [Attr: Variant]): zCollection

Returns a collection of zFile objects that match the wildcard given in Path and the file attributes in Attr. If Attr is omitted, a value of 0 is used.

The Attr can be a numeric attribute value, or it can be a string set of the following options: "Readonly", "Hidden", "SysFile", "Directory", "Archive", "SymLink" to determine what files are returned.

For example:

file.FindFiles( '*.pas', 0)

returns a collection of all of the *.PAS files in the current directory.
Viewer Comments [0 - Post your comments]

Jump to:  

© 2009 Zugg Software. Hosted by Wolfpaw.net