codice:
            Dim hj As New IO.DirectoryInfo("C:/miacartella/")
            If hj.Exists = True Then
                   MsgBox("La cartella esiste!")
            Else: MsgBox("La cartella non esiste!")
            End If