Name Statement

Name oldname As newname

Changes the name of a directory or a file.

The parameters oldname and newname are strings that can optionally contain a path.

Related Topics: Kill, ChDir