File.hidden read/write property
The File.hidden property set or get a boolean value indicating if the File is hidden or not. The file must exist physically on the disk.
Example
local file = sys.File("example\\notepad.wlua")
file.hidden = true
-- outputs "true"
print(file.hidden)