public static void CreateNonExistentDirectory(string path) { if (!Directory.Exists(path)) { Directory.CreateDirectory(path); } }