Multiple file extensions

  • Thread starter Thread starter Oterox
  • Start date Start date
O

Oterox

Hi everybody.

How can i select *.jpg and *.gif files from a dir??
I'm using this:
Directory.GetFiles(PathVar, "*.jpg")
but i don't know how to get more extensions than *.jpg

Thank you
 
Good Luck, Loop through a collection of "*.???", or Use Reflection or call
APIs
 
Back
Top