Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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, Diago 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.

add comment

1 Answer

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
show 1 more comment

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