Im using directory.getfiles in vb.net to try and get a list of files in a given path.
What i want is to return all that files that have certain extensions (*.xls and *.xml)
The search pattern im using is: "*.xls, *.xml" and this fails as it returns no files, when i know that there is. I've also tried using ";" and ":" to seperate the extensions but no luck.
Does anyone know how to check multiple extensions in the searchPattern argument??
I really wonder how and why they've dragged their feet on it for over a decade by now, being such a large company with possibly hundreds of developers that could be assigned to this task to finish all the underlying migrations... 🤔 It's really puzzling
Also, f'ing finish migrating the Devices and Printers managers to properly fully capable new implementations!
Apple has already chosen thinness versus a bigger battery w/ iPad. The iPad m4 is thinner, with the same battery life as the previous gen. No one asked for it to be thinner, as the previous gen was good already. They could have kept the same dimensions and made the battery bigger, which would have increased the battery life significantly.
Question
random_user_uk_1234
Im using directory.getfiles in vb.net to try and get a list of files in a given path.
What i want is to return all that files that have certain extensions (*.xls and *.xml)
The search pattern im using is: "*.xls, *.xml" and this fails as it returns no files, when i know that there is. I've also tried using ";" and ":" to seperate the extensions but no luck.
Does anyone know how to check multiple extensions in the searchPattern argument??
thanks for reading...
Link to comment
https://www.neowin.net/forum/topic/158194-directorygetfiles-method-in-vbnet/Share on other sites
13 answers to this question
Recommended Posts