Previous Topic: Is_SUID - Check the File for the 'SET USER ID' AttributeNext Topic: Is_U_R - Check the File for the 'User Read' Attribute


Is_System - Check the File for the 'Is System' Attribute

Valid on NetWare, Symbian OS, UNIX, Windows and Windows CE

The Is_System function checks the file for the specified attribute IS SYSTEM file.

Function format:

Is_System(filename as String) as Boolean
filename

Identifies a file path.

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

Example:

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