Access

Accessible = Access ( Path [ , Mode ] )

Returns if the file specified by Path is accessible.

If the value of Mode is:

The previous flags can be combined with the OR operator.

For a directory, the execution flag means that the directory can be browse.


Example

PRINT Access("/home/benoit", gb.Write OR gb.Exec)
True

PRINT Access("/root", gb.Write)
False