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