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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top