mmFileUtils.CopyFileOrFolder

Uses the Window Shell UI to move files which behaves similar to Explorer behavior warning for errors and supports undo.

public static bool CopyFileOrFolder(string sourceFolder,
	string targetFolder,
	bool confirmation)

Return Value

true or false

Parameters

sourceFolder
Source file (or files via wildcard) or folder name

targetFolder
Target Folder

confirmation
If true prompts for overwrites


See also:

Class mmFileUtils

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