FileExists Function [Runtime]/text/sbasic/shared/03020415.xhpSun Microsystems, Inc.converted from old format - fpeFileExists functionFileExists Function [Runtime]Determines if a file or a directory is available on the data medium.Syntax:FileExists(FileName As String | DirectoryName As String)Return value:BoolParameters:FileName | DirectoryName: Any string expression that contains an unambiguous file specification. You can also use URL notation.Example:Sub ExampleFileExists MsgBox FileExists("C:\autoexec.bat") MsgBox FileExists("file:///d|/bookmark.htm") MsgBox FileExists("file:///d|/Private")End Sub