I want to find all excel files within a directory structure using recursion. The problem is, the search pattern used in Directory.GetFiles only allows a single extension at a t
If you only want to get all excel files, use the pattern ".xl".
Otherwise I would suggest to call Directory.GetFiles without pattern and filter the matching extensions by hand.
Directory.GetFiles