Home Contents | # os.rename | OS | Lua Commands

Platform Core4 Filesystem Core4 Lua
Core4 Manager Core4 Manager Downloads Getting started Installation Development
Application Notes Lua TCP/IP
Core4 Lua Commands Audio Cipher Cipher/Hash Cipher/MPI Cipher/PKI Cipher/SSL Ctype Date/Time Debug Filer Graphics JSON Kconfig Math Mtd16 OS Sql String Table Tr
Core4 Lua Event System Bis Event Finger Gpio Httpd Httpd/CGI Keyboard Magstripe Mtd16io Rawio Touch V4kf Websocket
Lua Commands Coroutine Debug File Global IO OS Package String Table
Credits Credits

## SYNOPSIS

os.rename(oldname,newname)

## DESCRIPTION

Renames file or directory named oldname to newname.

## ERRORS

Returns nil and a string discribing the error.

Core4 SDK 2.130.1#8059 | © Lua.org, PUC-Rio |  | 2025-08-22