I can use the following to search for text files that contain the word "string" from the Windows Command Prompt:
C:\>findstr /spin /c:"string" *.txt
What if I want to search a sub-directory? The following doesn't work:
C:\>findstr /spin /c:\Users\My Name\Desktop"string" *.txt
Is it possible to search a specific sub path using findstr? I know I can do the following, but I'm trying to avoid having to change directories first:
C:\Users\My Name\Desktop>C:\>findstr /spin /c:"string" *.txt