폴더 , 파일 유무 확인

VNote 2017.07.19 17:39:10 *: Imports System.IO
Imports System.IO.DirectoryInfo

Public Class Form1

Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
If Directory.Exists("d:\aaa") = True Then
Label1.Text = "True"
Else
Label1.Text = "False"
End If

If File.Exists("d:\a.txt") = True Then
Label2.Text = "True"
Else
Label2.Text = "False"
End If
End Sub
End Class

..