Directory.CreateDirectory : Directory « System.IO « VB.Net by API






Directory.CreateDirectory

  
Imports System.IO

Module Module1

    Sub Main()
        Console.WriteLine("Creating directories...")

        Directory.CreateDirectory("D:\test01")
        Directory.CreateDirectory("D:\Temp\Sample02")
        Directory.CreateDirectory("Sample03")

        Console.WriteLine("Directories created")
    End Sub

End Module

   
    
  








Related examples in the same category

1.Directory.Delete
2.Directory.Exists
3.Directory.GetCurrentDirectory()
4.Directory.GetDirectoryRoot
5.Directory.GetFileSystemEntries
6.Directory.GetLogicalDrives()
7.Directory.GetParent
8.Directory.Move
9.Directory.SetCurrentDirectory