FileExists Function
Determines if a file or a directory is available on the data medium.
āļāˇāļģāļ āļģāˇāļāˇāļē:
FileExists(FileName As String | DirectoryName As String)
āļāļ´āˇāˇ āļŊāļļāˇāļ¯āˇāļą āļ āļāļē:
Bool
āļ´āļģāˇāļ¸āˇāļāˇāļąāˇ:
File: āļąāˇāˇāˇāˇāļ āļāˇāļąāˇ āļ´āˇāļģāˇāˇāˇāļāļģāļēāļāˇ āļāļāˇ āļāļąāˇāļ¸ āļāļąāˇāļāˇ āļ´āˇâāļģāļāˇāˇāļąāļēāļāˇ. āļāļļāļ§ URL āļ āļāļāļąāļē āļˇāˇāˇāˇāļāˇ āļāˇāļģāˇāļ¸āļ¯ āļāļŊ āˇāˇāļ.
āļāļ¯āˇāˇāļģāļĢāļē:
Sub ExampleFileExists
MsgBox FileExists("C:\autoexec.bat")
MsgBox FileExists("file:///d|/bookmark.htm")
MsgBox FileExists("file:///d|/Private")
End Sub