If a relative path is given to the Directory constructor, it will be converted to an absolute path (relative to the current working folder).
sys.Directory(path) constructor
The Directory constructor returns a Directory value representing a folder (that may or may not exist on disk).
Parameters
path
A string representing the path to the folder. The path may exist physically on a disk or not. To create the folder on a disk, use the Directory:make() method.
local currentDir = sys.Directory(sys.currentdir)
local tempDir = sys.Directory("temp")