Name Statement [Runtime]/text/sbasic/shared/03020412.xhpName statementName Statement [Runtime]Renames an existing file or directory.Syntax:Name OldName As String As NewName As StringParameters:OldName, NewName: Any string expression that specifies the file name, including the path. You can also use URL notation.UFI: see #i61074; removed paraExample:Sub ExampleReNameOn Error Goto ErrorFilecopy "c:\autoexec.bat", "c:\temp\autoexec.sav"Name "c:\temp\autoexec.sav" as "c:\temp\autoexec.bat"endError:if err = 58 thenmsgbox "File already exists"end ifendend sub