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

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


os.getcwd

The os.getcwd function gets the current working directory.

#!lua
cwd = os.getcwd()

Parameters

None.

Return Value

The current working directory.

Clone this wiki locally