获取本目录及子目录下所有文件 string [] fileInfos= System.IO.Directory.GetFiles("C:windwos", "*.*", SearchOption.AllDirectories);