I had to turn off Windows Search indexing in Windows 7 because the old hard drive was constantly noisy with indexing enabled!
Now I want to use the Windows command line to search for a specific text term in all files located in the current directory and subdirectories
How to use the Windiows findstr command to find subdirectories?
Currently, when I open a command prompt and change the directory to C:\Users\Damien\Documents\Research\2012July and run the findstr "thesis" *.tex /S , I get the following error:
FINDSTR: Cannot open /s
This command will search for the current directory if I delete / S, but I also want to be able to search for text in subfolders.
Deadlydan
source share