3

Given a path c:\someFolder\**\*.exe. How can I get a list of files using this directory path. I know that one could use Directory.GetFiles(directoryPath) but this only works when there are no wildcard characters in directoryPath.

vartec
  • 131,205
  • 36
  • 218
  • 244
Draco
  • 16,156
  • 23
  • 77
  • 92

1 Answers1

4

See: How to implement glob in C#

Community
  • 1
  • 1
vartec
  • 131,205
  • 36
  • 218
  • 244