This function returns the hide state of the specified file path.
Parameter | Description |
---|---|
path | full or relative |
Returns true if the file exists and is hidden, otherwise false is returned.
path = CurrentDir()
dir = LoadDir(path)
if (path == "") then
path = "."
end
for _, file in ipairs(dir) do
print("Name: " .. file)
if (path ~= "") then
file = path .. "/" .. file
end
print("Type: " .. FileType(file))
print("Time: " .. FileTime(file))
print("Size: " .. FileSize(file))
print("Hidden: " .. tostring(FileHidden(file)))
print("")
end