MoveFile

This method renames an existing file or a directory, including all its subdirectories.

Syntax

filesystem.MoveFile PathName, NewPathName

Parameters

filesystem
Reference to a FileSystem control.
PathName
String that contains the file name.
NewPathName
String that contains the file name to copy to.

Return Value

None.