if (Directory.Exists("c:\\pic")) { //MessageBox.Show("Folder is exists!"); } else { Directory.CreateDirectory("c:\\pic"); }