Renames an existing file or a directory—including all its children
filesystem.MoveFile PathName, NewPathName
The parts of the MoveFile function syntax are described in the following table.
Part | Description |
---|---|
PathName | String that contains the file name. |
NewPathName | String that contains the file name to copy to. |