Name Instruction

Syntax:

Name OldName$ As NewName$

Group:File

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.

Example:

Sub Main
  Name "c:\AUTOEXEC.BAK" As "c:\AUTOEXEC.SAV"
End
Sub