Deletes files in a folder based on a file spec recursively
public static int DeleteFiles(string path, string filespec, bool recursive)
Return Value
0 when no errors, otherwise number of files that have failed to delete (usually locked)
Parameters
path
filespec
recursive
See also:
Class FileUtils© West Wind Technologies, 1996-2024 • Updated: 06/29/24
Comment or report problem with topic