tumblr tracker

Move

Library Reference ›› Folder ››
Parent Previous Next

Folder.Move


Namespace: Folder


Moves a folder to another path.


retval = Folder.Move(SourceFolderPath, DestFolderPath)


Parameters:

- SourceFolderPath; string constant or variable containing the source folder path to move

- DestFolderPath; new folder path; full path must be specified


Returns:

true if operation succeeded or false otherwise; boolean value.


Example


If (Folder.Move("C:\TEMP\WEB2", "C:\TEMP2\WEB2"))
{
   MessageBox.ShowInfo("Folder Moved.");
}