troubleshooting Question

how to search a file base on the name but not the extansion

Avatar of jsctechy
jsctechyFlag for United States of America asked on
.NET Programming
10 Comments1 Solution193 ViewsLast Modified:
hi,
this one is not too bad, I need to search for a file in a given directory without consider its extension. For instance i'm looking for a file called test and i need to search on directory C:\Temp\ but on that directory there are 4 files showing the word test like this:

Test.txt
Another_Test.doc
My_Test.pdf
Their_Test.mdb

so every file that match that keyword Test should be add it to my listbox1. How can i do my search?
Thanks for your input
jsctechy
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 10 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros