Home  Contents

os.rename

OS Lua Commands

SYNOPSIS

os.rename(oldname,newname)

DESCRIPTION

Renames file or directory named oldname to newname.

ERRORS

Returns nil and a string discribing the error.