public static void CreateDirSafely(string szdir) { if(!Directory.Exists(szdir)) Directory.CreateDirectory(szdir); }