DeleteFiles

Deletes all files in a directory and subdirectory that match a search pattern.

SYNTAX
DeleteFiles(path, searchPattern, recursive) 
ARGUMENTS

path Name of the directory
searchPattern The search string to match against the names of files in path
recursive

TRUE = Searches subdirectories

FALSE = Does not search subdirectories