SECFileSystem::DeleteFiles

BOOLSECFileSystem::DeleteFiles(const CString&FileSpec, const unsigned longeFileAttrib= normal)

Deletes specified files (i.e., *.txt).

Defined in: filesys.cpp

Return Value

Nonzero if successful; 0 if an error occurred.

Parameters

FileSpec

The file specifier.

Comments

To delete a set of files based on a wildcard file specification.

Example

BOOL bRetVal = fs.DeleteFiles("c:\\foo\\bar\\*.txt");

eFileAttrib

The file attributes filter (See  Attribute.

See Also

SECFileSystem  DeleteFile  Attribute