access()

Synopsis

Determines whether the current user can access path, in the mode accessType.

The precise capabilities of this function are defined by the host operating system and file system.

Syntax

access ( path As String, _
         accessType As Name ) As Boolean 
Argument Type Description
path String The path to the file or directory of interest.
accessType Name Expects one of the following:
  • :Exists, to see if the path exists
  • :Read, to see if the path exists and is readable
  • :Write, to see if the path exists and is writeable