Name Instruction
Syntax
Name OldName$ As NewName$
Group
Description
Renames file OldName$ as NewName$.
Parameters
| Parameters | Description |
|---|---|
| OldName$ | The path and name of the file. You can use a path relative to the current directory. |
| NewName$ | The new file name (and path). You can use a path relative to the current directory. |
Example
Sub Main Name "AUTOEXEC.BAK" As "AUTOEXEC.SAV" End Sub