FileInfo: MoveTo

MoveTo

Moves this file to a new location.



 Public Sub MoveTo(
	  ByVal DestFileName As String )

Parameters

DestFileName
[ByVal] String. The new location and name of the file.

Remarks

The new location must be on the same volume as the source filename.

See Also

Project VBCorLib Overview Class FileInfo Overview FileInfo Properties FileInfo Methods Length (get) Name (get)