FileExists Function
ํ์ผ ๋๋ ๋๋ ํ ๋ฆฌ๋ฅผ ๋ฐ์ดํฐ ๋งค์ฒด์์ ์ฌ์ฉํ ์ ์๋์ง ํ์ธํฉ๋๋ค.
๊ตฌ๋ฌธ:
FileExists(FileName As String | DirectoryName As String)
๋ฐํ ๊ฐ:
Bool
๋งค๊ฐ ๋ณ์:
FileName | DirectoryName: ๋ช ํํ ํ์ผ ์ง์ ์ ํฌํจํ๋ ์์์ ๋ฌธ์์ด ์์ ๋๋ค. URL ํ๊ธฐ๋ฒ์ ์ฌ์ฉํ ์๋ ์์ต๋๋ค.
์:
Sub ExampleFileExists
MsgBox FileExists("C:\autoexec.bat")
MsgBox FileExists("file:///d|/bookmark.htm")
MsgBox FileExists("file:///d|/Private")
End Sub