Ask a question Report

Search command in command prompt [Solved/Closed]

Kash - Latest answer on Feb 20, 2013 04:29AM
I want a command, which i can run in command prompt, to serach all files in the system, like the search windows provide by clicking "start button" and "serach".
Format would may be of type:
C:\> search filename
it results in showing me all files with the name "filename".
Do anybody know any command like that? please i really need it.tahnks.
Read more 
moins plus
dir /s *.doc

surjit- Jan 28, 2009 12:55AM
thanks it worked
redirect it in file using
dir /s *.doc > filename.txt
imran- Feb 20, 2013 04:29AM
dir *.pst /s/a
moins plus
pls. use *.*filename

This document entitled « search command in command prompt » from CCM ( is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.

Not a member yet?

sign-up, it takes less than a minute and it's free!

Members get more answers than anonymous users.

Being a member gives you detailed monitoring of your requests.

Being a member gives you additional options.