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)

          隨筆分類

          隨筆檔案

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 庄河市| 马边| 尼玛县| 孟津县| 漠河县| 武义县| 承德市| 元阳县| 竹山县| 皮山县| 古蔺县| 凤城市| 光山县| 岑溪市| 荔波县| 阿拉善左旗| 阳高县| 萍乡市| 德令哈市| 进贤县| 三明市| 吴江市| 八宿县| 舞钢市| 修武县| 封开县| 新建县| 双城市| 九台市| 府谷县| 澄江县| 宝山区| 屏边| 务川| 涡阳县| 定日县| 繁昌县| 疏勒县| 渝中区| 临清市| 即墨市|