Returns the names of all files in the archive that meet the search criteria.
object.FindFiles ( SearchFile, [ AttributeFilter ] ) |
- SearchFile
- Required. A String that represents the folder and file filter to search within the archive.
- AttributeFilter
- Optional. It is used to suppress directories and readonly files.
Array
The wildcard character (*) can be used to match files in the root directory of the archive, but does not match files in subfolders of the archive. To match files in subfolders, use a slash character (/) along with the wildcard character.
For example, if a ZIP archive contained the following files:
ABC.txt
SubDir/XYZ.txt
FindFiles("*") will only match ABC.txt. To access the other file, use FindFiles("SubDir/*") or FindFiles("*/*").
Please note that forward slashes and backslashes are interchangeable, so "*\*" will yield the same result as "*/*".
For example, if a ZIP archive contained the following files:
ABC.txt
SubDir/XYZ.txt
FindFiles("*") will only match ABC.txt. To access the other file, use FindFiles("SubDir/*") or FindFiles("*/*").
Please note that forward slashes and backslashes are interchangeable, so "*\*" will yield the same result as "*/*".