private static void DeleteDir( string path ) { ClearAttributes(path); Directory.Delete( path, true ); }