mmFileUtils.MoveFileOrFolder

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

public static bool MoveFileOrFolder(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, 2016-2024 • Updated: 11/23/21
Comment or report problem with topic