Previous Topic: Is_O_W - Check the File for the 'Others Write' AttributeNext Topic: Is_ReadOnly - Check the File for the 'Read Only' Attribute


Is_O_X - Check the File for the 'Others Execute' Attribute

Valid on UNIX only

The Is_O_X function checks the file for the specified attribute Others Execute.

This function has the format:

Is_O_X(filename as String) as Boolean
filename

Identifies a file path.

This function returns TRUE if the attribute is set; otherwise, the function returns FALSE.

Example: Is_O_X function

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