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, 2019 • Updated: 06/23/19
Comment or report problem with topic