Skip to content
mba105 edited this page Sep 24, 2014 · 2 revisions

Home > [Scripting Reference](Scripting Reference) > os.chdir


os.chdir

The os.chdir function changes the current working directory.

#!lua
os.chdir("path")

Parameters

path is the file system path to the new working directory.

Return Value

True if successful, otherwise nil and an error message.

Clone this wiki locally