2011年8月15日

遍历查找指定文件

摘要: private Regex nameRx = new Regex(@"([\w\W]*?).(doc|docx)",RegexOptions.IgnoreCase);private void FildDoc(string path){ DirectoryInfo directory = new DirectoryInfo(path); FileSystemInfo[] fileSystemInfos = directory.GetFileSystemInfos(); foreach (FileSystemInfo filess in fileSystemInfos) {.. 阅读全文

posted @ 2011-08-15 14:50 c语言源码 阅读(221) 评论(0) 推荐(0) 编辑

导航