Function; rename - HWRM/KarosGraveyard GitHub Wiki

rename(<sFilename1>, <sFilename2>)

Description

(from LUA 4 Manual: 6.4 I/O Facilities)

"Renames file named <sFilename1> to <sFilename2>. If this function fails, it returns nil, plus a string describing the error."

Example

Arguments

<sFilename1>: the old name of the file.
<sFilename2>: the new name of the file.

Related Functions

Function Reference

LUA 4 Manual: 6.4 I/O Facilities

Comments

Page Status

Updated Formatting? Initial
Updated for HWRM? Initial