Previous Topic: Is_G_X - Check the File for the 'Group Execute' AttributeNext Topic: Is_O_R - Check the File for the 'Others Read' Attribute


Is_Hidden - Check the File for the 'Hidden' Attribute

Valid on Windows

The Is_Hidden function checks the file for the specified attribute.

Function format:

Is_Hidden(filename as String) as Boolean
filename

Identifies a file path.

This function returns TRUE if the file is a hidden file; otherwise, returns FALSE.

Example:

If Is_Hidden(Argv(1)) Then
	print(Argv(1) + " indicates 'Hidden'.")
Else
	print(Argv(1) + " does not indicate 'Hidden'.")
End If