1 Thanks for check this out The following batch file (findit.bat) works to find a string variable in a single directory
for %%a in (C:\myDir\*.txt) do find "%1" >> %%a >> output.txt
Example from command prompt:
c:> findit someword
all files that contain "someword" are written to > output.txt
The question is: how do I have this include subdirectories? I have tried adding the /s switch (C:\myDir /s) But that that doesn't work. It stays in the root of \Mydir :( Any ideas? For ever; Goto 1, Until done :)