My.Computer.FileSystem.CreateDirectory
Public Class Tester Public Shared Sub Main Try My.Computer.FileSystem.CreateDirectory("c:\\a") Console.WriteLine("Directory created successfully.") Catch ex As Exception Console.WriteLine(ex.Message) End Try End Sub End Class