日期:2014-05-17 浏览次数:20871 次
string[] filenames = Directory.GetFiles(@"e:\book", "*.gz", SearchOption.AllDirectories); foreach (string filename in filenames) File.Delete(filename);