SetDir
This function sets the current directory.
Syntax
Parameters
- path: the path to the new directory to change to.
Returns
Returns true of the current directory could be changed to the specified path, otherwise false is returned.
Example
FileSystem:SetDir("Materials")
System:Print(FileSystem:GetDir())