FileExists Function

གཞི་གྲངས་སྨྱན་སྦྱོར་ནང་ཡིག་ཆ་ཞིག་གམ་དཀར་ཆག་ཡོད་མེད་གཏན་འཁེལ་བྱེད།

བརྡ་འཕྲོད་

FileExists(FileName As String | DirectoryName As String)

ཕྱིར་ལོག་ཐང་

པུའུ་འར་

ཁུགས་གྲངས་

FileName | DirectoryName ཁ་གསལ་བའི་ཡིག་ཆའི་མཚན་འཇོག་གི་ཡིག་རྟགས་ཕྲེང་བ་གང་རུང་གི་མཚོན་ཚུལ་ལྡན། URL མཚོན་ཐབས་ཡང་སྤྱད་ཆོག་

Error codes:

5 ནུས་མེད་ཀྱི་བརྒྱུད་རིམ་འཁོར་སྤྱོད་

དཔེ་གཞི་

Sub ExampleFileExists

    MsgBox FileExists("C:\autoexec.bat")

    MsgBox FileExists("file:///d|/bookmark.htm")

    MsgBox FileExists("file:///d|/Private")

End Sub