Just write this line : System.IO.Directory.CreateDirectory(myDir); If the folder does not exist yet, it will be created. If the folder exists already,...