Command Prompt searching

G

Geoff Bayes

How do I search for the location of a file when using the command
prompt, and without using windows explorer?
I don't need to do this very often but when I do it has always seemed
to me that there must be a simple way.
I've tried piping the results of a dir through find but it doesn't
work. What I need is an updated version of a .com file I used to have
(still do have, somewhere) called whereis, which won't run under XP.
Any ideas?
Geoff
http://graffiti.virgin.net/geoff.bayes
 
P

Pegasus \(MVP\)

Geoff Bayes said:
How do I search for the location of a file when using the command
prompt, and without using windows explorer?
I don't need to do this very often but when I do it has always seemed
to me that there must be a simple way.
I've tried piping the results of a dir through find but it doesn't
work. What I need is an updated version of a .com file I used to have
(still do have, somewhere) called whereis, which won't run under XP.
Any ideas?
Geoff
http://graffiti.virgin.net/geoff.bayes

Try this:
dir /s c:\abc*.exe

Try googling for a 32-bit version of whereis.exe. Note that
some flavours of whereis.exe will only look for executable
files in the folders defined in the %path%. Others will look
everywhere, which will take much, much longer.
 

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

Top