Hi, I usually develop in .NET 2.0 and so am using this forum, I apologise if this is the wrong place to be asking this problem. I'm trying to find a list of files, using pattern matching (e.g. *.txt) in a heirarchy of directories, using only one command, I have found: system.io.GetFileSystemInfos(searchString) but this only gets the files and directories within a particular directory, Does anyone know a method that will do what I want? Thank you in anticipation Julia
There's an example on MSDNusing it to filterdirectories and files for specified strings: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemiodirectoryinfoclassgetfilesysteminfostopic.asp