mmFileUtils.CopyDirectory

Copies directories using either top level only or deep merge copy.

Copies a directory by copying files from source folder to target folder. If folder(s) don't exist they are created.

public static string CopyDirectory(DirectoryInfo source,
	DirectoryInfo target,
	bool deleteFirst,
	bool recursive)

Return Value

null on success or error string of files and errors that failed

Parameters

source

target

deleteFirst

recursive

Overloads:


See also:

Class mmFileUtils

© West Wind Technologies, 2016-2024 • Updated: 11/23/21
Comment or report problem with topic