IBM Lotus Symphony
|
确定文件或目录在数据介质上是否可用。
FileExists(FileName As String | DirectoryName As String)
布尔值
FileName | DirectoryName:包含明确的文件规范的任何字符串表达式。您也可以使用 URL 表示法。
sub ExampleFileExists
msgbox FileExists("C:\autoexec.bat")
msgbox FileExists("file:///d|/bookmark.htm")
msgbox FileExists("file:///d|/private")
end sub