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 Links
Language reference (Parent Topic)