FileUtils.DeleteFiles

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-2020 • Updated: 07/15/20
Comment or report problem with topic