Find in Files C#

LowlSmoorpmow

New Member
I have a Folder which has multiple sub folders. Each sub folder has many .dot and .txt files in them. Is there a simple solution in C# .NET that will iterate through each file and check the contents of that file for a key phrase or keyword?\[code\]Document Name Keyword1 Keyword2 Keyword3 ... test.dot Y N Y\[/code\]To summarise:[*]Select a folder[*]Enter a list of keywords to search for[*]The program will then search through each file and at the end output something like above, I am not to worried about creating the datatable to show the datagrid as I can do this. I just need to perform the find in files function similar to Notepad++'s find in files optionThanks in advance
 
Back
Top