Imports System.IO Public Class Tester Public Shared Sub Main If Directory.Exists("C:\\a") = True Then Console.WriteLine("true") End If End Sub End Class