You can use the Create() method of DirectoryInfo class to make or create a new directory.
Dim f As DirectoryInfo = New DirectoryInfo("C:\\testdir\\")
If f.Exists Then
Console.WriteLine("The directory already exists.")
Console.WriteLine("The directory created!.")
Posted by: marcos | post date: 02-06-2013 | Subject: VB.NET Programming Language
This website intents to provide free and high quality tutorials, examples, exercises and solutions, questions and answers of programming and scripting languages: