searching for a string in a file at directory level

  • Thread starter Thread starter pooja
  • Start date Start date
P

pooja

Am not able to find a particular string in a file(where
it exists) at the directory level in WindowsXP.
I have a directory consisting of many files(.shtml files).
I want to search for a string say "www" in all the files
and need to find the files which contain this string.
THis is not happening in WindowsXP.
This is possible in Windows2000.
 
Got to the command prompt and navigate to that directory.

findstr /ps <your text> *

You can do a findstr /? to see what you are doing.

Ed
 
Back
Top