CFindFiles Class


The CFindFiles class provides file searching capability. This class iterates through the files in a folder using a filename template for file selection.

Usage

Construction

Object = CFindFiles:new()

Object = CFindFiles:new( sFolder )

Object = CFindFiles:new( sFolder, Template )

Destruction

Object:delete()

Methods

Construction

new

Creates a new instance of a CFindFiles object. Various constructors are available.

delete

Deletes the instance of the CFindFiles object.

Data Member Access

GetPath

Returns the current path saved by the last call to Next().

Operations

Open

Opens access to file searching using a specified folder and filename template.

Next

Iterates to the next matching file.

Close

Closes the current object's access to the file system, but does not delete the CFileFind object.

Related Topics

CFileDlg class, Script Classes, GetFileList, CFile