日期:2014-05-18 浏览次数:21173 次
DirectoryInfo di = new DirectoryInfo(); string[] filelist = di.GetFiles(@"C:\ma"); foreach (string s in filelist) { if (s.Contains("eee")) { MessageBox.Show("存在eee文件"); } }