Documentation
›
API Reference
›
Object
›
FileSystem
GetDir
Lua
C++
This function returns the current directory.
Syntax
String
GetDir
()
Returns
Returns the path to the current directory.
Example
--Print the starting directory
System:Print((FileSystem:GetDir()))