FileExists Function [Runtime]/text/sbasic/shared/03020415.xhpFileExists 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 ExampleFileExistsmsgbox FileExists("C:\autoexec.bat")msgbox FileExists("file:///d|/bookmark.htm")msgbox FileExists("file:///d|/private")end sub