先把FolderBrowserDialog打开的文件夹里的文件名取到数组里,然后循环打开文件

解决方案 »

  1.   

    folderBrowserDialog1.ShowDialog();
    string mPath
    =folderBrowserDialog1.SelectedPath;
    System.IO.DirectoryInfo mDir
    =new System.IO.DirectoryInfo(mPath);
    foreach(System.IO.FileInfo  sFile in mDir.GetFiles("*.txt"))
    {
    System.Diagnostics.Process.Start(sFile.FullName);   
    }
      

  2.   

    倒MSDN上不是把有很详细的介绍file类的么。上面的写的不错。。
      

  3.   

    MSDN 上面太乱了。。太复杂了。。看不懂。。楼上的楼上的。。那位很厉害。:)