private void CreateFoler(string path) { if (Directory.Exists(Path.GetDirectoryName(path))) { } else { Directory.CreateDirectory(Path.GetDirectoryName(path)); } }