Luart
Comprehensive Windows framework to develop in Lua
modules > sys > File > hidden

File.hiddenread/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 = File("example\\notepad.wlua")
file.hidden = true

-- outputs "true"
print(file.hidden)