search file that containing especific text

  • Thread starter Thread starter Boris Bulit
  • Start date Start date
B

Boris Bulit

Hi,

I need to seach all files in a folder that contain an specific text.

Thanks

Boris
 
Why not just do it in explorer? Or did you need to have one of your
functions do something on these files?

Not sure if there's a better way in VB.net but you COULD have a function
execute the dos level command "Find" and have it send it's output to a text
file. Then it's a simple matter of parsing the text file to get a list of
files that meet your requirements.
 
Back
Top