Directory.hidden read/write property



The Directory.hidden property set or get a boolean value indicating if the folder is hidden or not. The folder must exist physically on the disk.

Example

local dir = sys.Directory("hidden_dir\\") dir:make() dir.hidden = true -- outputs "true" print(file.hidden)