Move(Source: String; Destination: String);
Source - a directory that should be moved.
Destination - a directory into which moving is performed.
The Move method moves a directory Source with all its content into a directory Destination.
Sub UserProcMove(Source: String; Destination: String);
Begin
If Directory.Exists(Source) And Directory.Exists(Destination) Then
Directory.Move(Source, Destination);
End If;
End Sub UserProcMove;
While executing this example, a directory Source is moved to a directory Destination with all its content, if directories passed by the parameters Source and Destination exist in a file system.
See also: