os.rename (oldname, newname)
Renames the file or directory named oldname
to newname
. If this function fails, it returns nil, plus a string describing the error and the error code. Otherwise, it returns true.
os.rename (oldname, newname)
Renames the file or directory named oldname
to newname
. If this function fails, it returns nil, plus a string describing the error and the error code. Otherwise, it returns true.
Please login to continue.