public void Dirs(string Path)
                  {
                   
                      System.IO.DirectoryInfo dirs = new System.IO.DirectoryInfo(Path);
                      foreach (FileInfo fi in dirs.GetFiles("*.htm"))
                      {

                          Process.Start("IExplore.exe", fi.FullName);
                      }
                    
                      if (dirs.GetDirectories().Length > 0)
                      {
                          foreach (DirectoryInfo di in dirs.GetDirectories())
                          {
                              Dirs(di.FullName);
                          }
                      }
                  }


          文章來源:http://www.cnblogs.com/wangdetian168/archive/2008/12/06/1348939.html
          posted on 2010-10-11 09:27 sanmao 閱讀(99) 評論(0)  編輯  收藏

          只有注冊用戶登錄后才能發表評論。


          網站導航:
           

          常用鏈接

          留言簿(5)

          隨筆分類

          隨筆檔案

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 东莞市| 柏乡县| 大宁县| 固始县| 常山县| 克拉玛依市| 景宁| 洛川县| 宁武县| 青阳县| 宁明县| 财经| 郑州市| 海丰县| 平山县| 双江| 应用必备| 尚志市| 察哈| 永年县| 油尖旺区| 永仁县| 三穗县| 武定县| 濮阳县| 化州市| 海安县| 康乐县| 荃湾区| 阳新县| 滦平县| 思南县| 达拉特旗| 东光县| 禹城市| 聂荣县| 积石山| 南丰县| 汶川县| 达日县| 抚顺县|