SetDir

This function sets the current directory.

Syntax

Parameters

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())