Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
dispaying part of a file with the fndstr command

I just want to find these two words "hello there" in all directories and all files in my a: using the command prompt format (findstr)

share|improve this question

marked as duplicate by Dennis Williamson, BinaryMisfit Nov 22 '10 at 9:11

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 1 down vote accepted
findstr /s /i /c:"hello there" a:\
share|improve this answer
    
thanks I got the answer correct on an online practice sheet but could not get it to be displayed on the screen – kevin Nov 22 '10 at 3:23
    
how come i cannot see the output of this command. It Is a correct answer but i am just not getting the output? – kevin Nov 22 '10 at 3:50
    
You sure you have some files in a: ? Unless you have a floppy, I doubt there will be any files. – Sathya Nov 22 '10 at 3:54
    
it's a usb drive. I type dir and all my files come up. I actually know that 1 file is about the "New York" Yankees. Could be a screwed up usb drive ? – kevin Nov 22 '10 at 3:58
    
Seems more like a problem with the the command. – Sathya Nov 22 '10 at 4:15

Not the answer you're looking for? Browse other questions tagged or ask your own question.