Programming Reference Manual
 
Syntax
 
Name OldName$ As NewName$
 
Description
Rename file OldName$ as NewName$.
 
Parameter
Description
OldName$
This string value is the path and name of the file. A path relative to the current directory can be used.
NewName$ 
This is the new file name (and path). A path relative to the current directory can be used. 
See Also
 
Example
 
Sub Main
    Name "AUTOEXEC.BAK" As "AUTOEXEC.SAV"
End Sub