I am trying to locate a specific word (based on user input) in a folder with sub-folders. I have tried using the FINDSTR command with options but results are not consistent and it doesn't find the sub-folders.
SET /p MODULEINPUT=Enter module name:
if exist SEARCH-RESULTS.txt del SEARCH-RESULTS.txt
FINDSTR /I /S "%MODULENAME%" *.TXT > SEARCH-RESULTS.TXT
Thanks for the help,